POST api/Messages/Send8410

Send SaveLG_NG_8410_LogisticActionRequestMessage_In to Customs

Request Information

URI Parameters

None.

Body Parameters

TaskyamWebAPI.Models.Send8410Request
NameDescriptionTypeAdditional information
RequestHeader

TaskyamWebAPI.Models.RequestHeader

None.

RequestObjSigned

Neta.NetaReceiversAssemblies.Service_8410.ESBRequestSigned

None.

RequestSigned

Collection of byte

None.

RequestObj

Neta.NetaReceiversAssemblies.Service_8410.LG_NG_8410_LogisticActionRequestMessage

None.

Request Formats

application/json, text/json

Sample:
{
  "RequestHeader": {
    "ExternalId": "sample string 1",
    "ConsumerId": "sample string 2",
    "ResponseType": 1,
    "AdditionalRecievers": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "RequestObjSigned": {
    "SignedByteArry": "QEA="
  },
  "RequestSigned": "QEA=",
  "RequestObj": {
    "RequestContentHeader": {
      "TransmitionDateTime": "2025-03-14T18:56:09.7924031+02:00",
      "SenderID": 2,
      "RecieverID": [
        1,
        2
      ],
      "Convertor": "sample string 3"
    },
    "GeneralDetails": {
      "ExporterIdentifierType": 1,
      "ExporterNumber": 2,
      "ExporterNumberSpecified": true,
      "CargoIdentifier": {
        "cargoIdentifierType": 1,
        "cargoIdentifierKey1": "sample string 2",
        "cargoIdentifierKey2": "sample string 3",
        "cargoIdentifierKey3": "sample string 4"
      },
      "PassportCountry": "sample string 4",
      "PassportNumber": "sample string 5",
      "RequestType": 6,
      "RequestReason": "sample string 7",
      "DeliverySiteID": "sample string 8",
      "PackingDetails": {
        "PackagingTypeCode": "sample string 1",
        "Quantity": "sample string 2"
      }
    },
    "Attachments": [
      {
        "content": "QEA=",
        "fileName": "sample string 1",
        "documentType": "sample string 2",
        "keywords": "sample string 3",
        "attachmentID": "sample string 4",
        "externalAttachmentID": "sample string 5",
        "AdditionalData": [
          {
            "fieldID": 1,
            "fieldData": "sample string 2"
          },
          {
            "fieldID": 1,
            "fieldData": "sample string 2"
          }
        ],
        "Remark": "sample string 6",
        "IsAttachment": "sample string 7"
      },
      {
        "content": "QEA=",
        "fileName": "sample string 1",
        "documentType": "sample string 2",
        "keywords": "sample string 3",
        "attachmentID": "sample string 4",
        "externalAttachmentID": "sample string 5",
        "AdditionalData": [
          {
            "fieldID": 1,
            "fieldData": "sample string 2"
          },
          {
            "fieldID": 1,
            "fieldData": "sample string 2"
          }
        ],
        "Remark": "sample string 6",
        "IsAttachment": "sample string 7"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<Send8410Request xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <RequestHeader>
    <ExternalId>sample string 1</ExternalId>
    <ConsumerId>sample string 2</ConsumerId>
    <ResponseType>WebService</ResponseType>
    <AdditionalRecievers>
      <string>sample string 1</string>
      <string>sample string 2</string>
    </AdditionalRecievers>
  </RequestHeader>
  <RequestObjSigned>
    <SignedByteArry xmlns="http://MalamTeam.Inf.ESB.Schemas.ESBRequestSigned">QEA=</SignedByteArry>
  </RequestObjSigned>
  <RequestSigned>QEA=</RequestSigned>
  <RequestObj>
    <RequestContentHeader xmlns="http://malam.com/customs/CargoControl/LG_NG_8410_LogisticActionRequestMessage">
      <TransmitionDateTime xmlns="http://malam.com/customs/EAICommon.xsd">2025-03-14T18:56:09.7924031+02:00</TransmitionDateTime>
      <SenderID xmlns="http://malam.com/customs/EAICommon.xsd">2</SenderID>
      <RecieverID xmlns="http://malam.com/customs/EAICommon.xsd">1</RecieverID>
      <RecieverID xmlns="http://malam.com/customs/EAICommon.xsd">2</RecieverID>
      <Convertor xmlns="http://malam.com/customs/EAICommon.xsd">sample string 3</Convertor>
    </RequestContentHeader>
    <GeneralDetails xmlns="http://malam.com/customs/CargoControl/LG_NG_8410_LogisticActionRequestMessage">
      <ExporterIdentifierType>1</ExporterIdentifierType>
      <ExporterNumber>2</ExporterNumber>
      <CargoIdentifier>
        <cargoIdentifierType xmlns="http://malam.com/customs/EAICommon.xsd">1</cargoIdentifierType>
        <cargoIdentifierKey1 xmlns="http://malam.com/customs/EAICommon.xsd">sample string 2</cargoIdentifierKey1>
        <cargoIdentifierKey2 xmlns="http://malam.com/customs/EAICommon.xsd">sample string 3</cargoIdentifierKey2>
        <cargoIdentifierKey3 xmlns="http://malam.com/customs/EAICommon.xsd">sample string 4</cargoIdentifierKey3>
      </CargoIdentifier>
      <PassportCountry>sample string 4</PassportCountry>
      <PassportNumber>sample string 5</PassportNumber>
      <RequestType>6</RequestType>
      <RequestReason>sample string 7</RequestReason>
      <DeliverySiteID>sample string 8</DeliverySiteID>
      <PackingDetails>
        <PackagingTypeCode>sample string 1</PackagingTypeCode>
        <Quantity>sample string 2</Quantity>
      </PackingDetails>
    </GeneralDetails>
    <Attachments IsAttachment="sample string 7" xmlns="http://malam.com/customs/CargoControl/LG_NG_8410_LogisticActionRequestMessage">
      <content xmlns="http://malam.com/customs/EAICommon.xsd">QEA=</content>
      <fileName xmlns="http://malam.com/customs/EAICommon.xsd">sample string 1</fileName>
      <documentType xmlns="http://malam.com/customs/EAICommon.xsd">sample string 2</documentType>
      <keywords xmlns="http://malam.com/customs/EAICommon.xsd">sample string 3</keywords>
      <attachmentID xmlns="http://malam.com/customs/EAICommon.xsd">sample string 4</attachmentID>
      <externalAttachmentID xmlns="http://malam.com/customs/EAICommon.xsd">sample string 5</externalAttachmentID>
      <AdditionalData xmlns="http://malam.com/customs/EAICommon.xsd">
        <fieldID>1</fieldID>
        <fieldData>sample string 2</fieldData>
      </AdditionalData>
      <AdditionalData xmlns="http://malam.com/customs/EAICommon.xsd">
        <fieldID>1</fieldID>
        <fieldData>sample string 2</fieldData>
      </AdditionalData>
      <Remark xmlns="http://malam.com/customs/EAICommon.xsd">sample string 6</Remark>
    </Attachments>
    <Attachments IsAttachment="sample string 7" xmlns="http://malam.com/customs/CargoControl/LG_NG_8410_LogisticActionRequestMessage">
      <content xmlns="http://malam.com/customs/EAICommon.xsd">QEA=</content>
      <fileName xmlns="http://malam.com/customs/EAICommon.xsd">sample string 1</fileName>
      <documentType xmlns="http://malam.com/customs/EAICommon.xsd">sample string 2</documentType>
      <keywords xmlns="http://malam.com/customs/EAICommon.xsd">sample string 3</keywords>
      <attachmentID xmlns="http://malam.com/customs/EAICommon.xsd">sample string 4</attachmentID>
      <externalAttachmentID xmlns="http://malam.com/customs/EAICommon.xsd">sample string 5</externalAttachmentID>
      <AdditionalData xmlns="http://malam.com/customs/EAICommon.xsd">
        <fieldID>1</fieldID>
        <fieldData>sample string 2</fieldData>
      </AdditionalData>
      <AdditionalData xmlns="http://malam.com/customs/EAICommon.xsd">
        <fieldID>1</fieldID>
        <fieldData>sample string 2</fieldData>
      </AdditionalData>
      <Remark xmlns="http://malam.com/customs/EAICommon.xsd">sample string 6</Remark>
    </Attachments>
  </RequestObj>
</Send8410Request>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Send8410Request'.

Response Information

Resource Description

Send8410Response

TaskyamWebAPI.Models.Send8410Response
NameDescriptionTypeAdditional information
ResponseHeader

TaskyamWebAPI.Models.ResponseHeader

None.

ResponseObj

Neta.NetaReceiversAssemblies.Service_8410.INF_MSG_Generic

None.

ESBResponse

Neta.NetaReceiversAssemblies.Service_8410.ESBResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseHeader": {
    "CorrelationId": "sample string 1",
    "TaskYamCorrelationId": "sample string 2",
    "ExternalId": "sample string 3",
    "ErrorDescription": "sample string 4",
    "ErrorCode": "sample string 5",
    "Status": "sample string 6"
  },
  "ResponseObj": {
    "ResponseContentHeader": {
      "TransmitionDateTime": "2025-03-14T18:56:09.8236559+02:00",
      "ApplicationID": 2,
      "Exception": [
        {
          "ExceptionLevel": 1,
          "ExeptionType": 2,
          "ExceptionParms": [
            "sample string 1",
            "sample string 2"
          ],
          "ExeptionDescription": "sample string 3",
          "EnglishDescription": "sample string 4",
          "BindingXpathField": "sample string 5"
        },
        {
          "ExceptionLevel": 1,
          "ExeptionType": 2,
          "ExceptionParms": [
            "sample string 1",
            "sample string 2"
          ],
          "ExeptionDescription": "sample string 3",
          "EnglishDescription": "sample string 4",
          "BindingXpathField": "sample string 5"
        }
      ],
      "Remark": "sample string 3"
    }
  },
  "ESBResponse": {
    "ResponseHeader": {
      "CorrelationId": "sample string 1",
      "Status": "sample string 2",
      "ErrorDescription": "sample string 3",
      "ErrorCode": "sample string 4",
      "ExternalId": "sample string 5"
    },
    "Body": {
      "INF_MSG_Generic": {
        "ResponseContentHeader": {
          "TransmitionDateTime": "2025-03-14T18:56:09.8236559+02:00",
          "ApplicationID": 2,
          "Exception": [
            {
              "ExceptionLevel": 1,
              "ExeptionType": 2,
              "ExceptionParms": [
                "sample string 1",
                "sample string 2"
              ],
              "ExeptionDescription": "sample string 3",
              "EnglishDescription": "sample string 4",
              "BindingXpathField": "sample string 5"
            },
            {
              "ExceptionLevel": 1,
              "ExeptionType": 2,
              "ExceptionParms": [
                "sample string 1",
                "sample string 2"
              ],
              "ExeptionDescription": "sample string 3",
              "EnglishDescription": "sample string 4",
              "BindingXpathField": "sample string 5"
            }
          ],
          "Remark": "sample string 3"
        }
      }
    }
  }
}

application/xml, text/xml

Sample:
<Send8410Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ResponseHeader>
    <CorrelationId>sample string 1</CorrelationId>
    <TaskYamCorrelationId>sample string 2</TaskYamCorrelationId>
    <ExternalId>sample string 3</ExternalId>
    <ErrorDescription>sample string 4</ErrorDescription>
    <ErrorCode>sample string 5</ErrorCode>
    <Status>sample string 6</Status>
  </ResponseHeader>
  <ResponseObj>
    <ResponseContentHeader xmlns="http://malam.com/customs/INF_MSG_Generic">
      <TransmitionDateTime xmlns="http://malam.com/customs/EAICommon.xsd">2025-03-14T18:56:09.8236559+02:00</TransmitionDateTime>
      <ApplicationID xmlns="http://malam.com/customs/EAICommon.xsd">2</ApplicationID>
      <Exception xmlns="http://malam.com/customs/EAICommon.xsd">
        <ExceptionLevel>1</ExceptionLevel>
        <ExeptionType>2</ExeptionType>
        <ExceptionParms>sample string 1</ExceptionParms>
        <ExceptionParms>sample string 2</ExceptionParms>
        <ExeptionDescription>sample string 3</ExeptionDescription>
        <EnglishDescription>sample string 4</EnglishDescription>
        <BindingXpathField>sample string 5</BindingXpathField>
      </Exception>
      <Exception xmlns="http://malam.com/customs/EAICommon.xsd">
        <ExceptionLevel>1</ExceptionLevel>
        <ExeptionType>2</ExeptionType>
        <ExceptionParms>sample string 1</ExceptionParms>
        <ExceptionParms>sample string 2</ExceptionParms>
        <ExeptionDescription>sample string 3</ExeptionDescription>
        <EnglishDescription>sample string 4</EnglishDescription>
        <BindingXpathField>sample string 5</BindingXpathField>
      </Exception>
      <Remark xmlns="http://malam.com/customs/EAICommon.xsd">sample string 3</Remark>
    </ResponseContentHeader>
  </ResponseObj>
  <ESBResponse>
    <ResponseHeader>
      <CorrelationId xmlns="http://MalamTeam.Inf.ESB.Schemas.ResponseHeader">sample string 1</CorrelationId>
      <Status xmlns="http://MalamTeam.Inf.ESB.Schemas.ResponseHeader">sample string 2</Status>
      <ErrorDescription xmlns="http://MalamTeam.Inf.ESB.Schemas.ResponseHeader">sample string 3</ErrorDescription>
      <ErrorCode xmlns="http://MalamTeam.Inf.ESB.Schemas.ResponseHeader">sample string 4</ErrorCode>
      <ExternalId xmlns="http://MalamTeam.Inf.ESB.Schemas.ResponseHeader">sample string 5</ExternalId>
    </ResponseHeader>
    <Body>
      <INF_MSG_Generic>
        <ResponseContentHeader>
          <TransmitionDateTime xmlns="http://malam.com/customs/EAICommon.xsd">2025-03-14T18:56:09.8236559+02:00</TransmitionDateTime>
          <ApplicationID xmlns="http://malam.com/customs/EAICommon.xsd">2</ApplicationID>
          <Exception xmlns="http://malam.com/customs/EAICommon.xsd">
            <ExceptionLevel>1</ExceptionLevel>
            <ExeptionType>2</ExeptionType>
            <ExceptionParms>sample string 1</ExceptionParms>
            <ExceptionParms>sample string 2</ExceptionParms>
            <ExeptionDescription>sample string 3</ExeptionDescription>
            <EnglishDescription>sample string 4</EnglishDescription>
            <BindingXpathField>sample string 5</BindingXpathField>
          </Exception>
          <Exception xmlns="http://malam.com/customs/EAICommon.xsd">
            <ExceptionLevel>1</ExceptionLevel>
            <ExeptionType>2</ExeptionType>
            <ExceptionParms>sample string 1</ExceptionParms>
            <ExceptionParms>sample string 2</ExceptionParms>
            <ExeptionDescription>sample string 3</ExeptionDescription>
            <EnglishDescription>sample string 4</EnglishDescription>
            <BindingXpathField>sample string 5</BindingXpathField>
          </Exception>
          <Remark xmlns="http://malam.com/customs/EAICommon.xsd">sample string 3</Remark>
        </ResponseContentHeader>
      </INF_MSG_Generic>
    </Body>
  </ESBResponse>
</Send8410Response>