POST api/Messages/Send8357

Send SaveST_MSG_8357_DFCatalogItemEntry_in to Customs

Request Information

URI Parameters

None.

Body Parameters

TaskyamWebAPI.Models.Send8357Request
NameDescriptionTypeAdditional information
RequestHeader

TaskyamWebAPI.Models.RequestHeader

None.

RequestObjSigned

Neta.NetaReceiversAssemblies.Service_8357.ESBRequestSigned

None.

RequestSigned

Collection of byte

None.

RequestObj

Neta.NetaReceiversAssemblies.Service_8357.ST_NG_8357_MSG21_DFCatalogItemEntry

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:59:50.4347686+02:00",
      "SenderID": 2,
      "RecieverID": [
        1,
        2
      ],
      "Convertor": "sample string 3"
    },
    "GeneralDetails": {
      "functionCode": 1,
      "UnloadingDateTime": "2025-03-14T18:59:50.4347686+02:00",
      "siteNumber": "sample string 3",
      "declarationNum": "sample string 4",
      "invoiceNum": "sample string 5",
      "CargoIdentifier": {
        "cargoIdentifierType": 1,
        "cargoIdentifierKey1": "sample string 2",
        "cargoIdentifierKey2": "sample string 3",
        "cargoIdentifierKey3": "sample string 4"
      },
      "cargoRowNumber": 1,
      "cargoRowNumberSpecified": true
    },
    "CatalogItem": [
      {
        "catalogItem": "sample string 1",
        "vendorCatalogItem": "sample string 2",
        "catalogItemDescription": "sample string 3",
        "quantity": 1,
        "quantitySpecified": true,
        "unit": "sample string 5",
        "surplusDeficiency": 1,
        "surplusDeficiencySpecified": true,
        "surplusDeficiencyQuantity": 1,
        "surplusDeficiencyQuantitySpecified": true,
        "damaged": 1,
        "damagedSpecified": true,
        "surplusDeficiencyText": "sample string 9",
        "eventType": 1,
        "eventTypeSpecified": true,
        "EventMessageNum": "sample string 11"
      },
      {
        "catalogItem": "sample string 1",
        "vendorCatalogItem": "sample string 2",
        "catalogItemDescription": "sample string 3",
        "quantity": 1,
        "quantitySpecified": true,
        "unit": "sample string 5",
        "surplusDeficiency": 1,
        "surplusDeficiencySpecified": true,
        "surplusDeficiencyQuantity": 1,
        "surplusDeficiencyQuantitySpecified": true,
        "damaged": 1,
        "damagedSpecified": true,
        "surplusDeficiencyText": "sample string 9",
        "eventType": 1,
        "eventTypeSpecified": true,
        "EventMessageNum": "sample string 11"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<Send8357Request 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/Storage/ST_NG_8357_MSG21_DFCatalogItemEntry">
      <TransmitionDateTime xmlns="http://malam.com/customs/EAICommon.xsd">2025-03-14T18:59:50.4347686+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/Storage/ST_NG_8357_MSG21_DFCatalogItemEntry">
      <functionCode>1</functionCode>
      <UnloadingDateTime>2025-03-14T18:59:50.4347686+02:00</UnloadingDateTime>
      <siteNumber>sample string 3</siteNumber>
      <declarationNum>sample string 4</declarationNum>
      <invoiceNum>sample string 5</invoiceNum>
      <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>
      <cargoRowNumber>1</cargoRowNumber>
    </GeneralDetails>
    <CatalogItem xmlns="http://malam.com/customs/Storage/ST_NG_8357_MSG21_DFCatalogItemEntry">
      <catalogItem>sample string 1</catalogItem>
      <vendorCatalogItem>sample string 2</vendorCatalogItem>
      <catalogItemDescription>sample string 3</catalogItemDescription>
      <quantity>1</quantity>
      <unit>sample string 5</unit>
      <surplusDeficiency>1</surplusDeficiency>
      <surplusDeficiencyQuantity>1</surplusDeficiencyQuantity>
      <damaged>1</damaged>
      <surplusDeficiencyText>sample string 9</surplusDeficiencyText>
      <eventType>1</eventType>
      <EventMessageNum>sample string 11</EventMessageNum>
    </CatalogItem>
    <CatalogItem xmlns="http://malam.com/customs/Storage/ST_NG_8357_MSG21_DFCatalogItemEntry">
      <catalogItem>sample string 1</catalogItem>
      <vendorCatalogItem>sample string 2</vendorCatalogItem>
      <catalogItemDescription>sample string 3</catalogItemDescription>
      <quantity>1</quantity>
      <unit>sample string 5</unit>
      <surplusDeficiency>1</surplusDeficiency>
      <surplusDeficiencyQuantity>1</surplusDeficiencyQuantity>
      <damaged>1</damaged>
      <surplusDeficiencyText>sample string 9</surplusDeficiencyText>
      <eventType>1</eventType>
      <EventMessageNum>sample string 11</EventMessageNum>
    </CatalogItem>
  </RequestObj>
</Send8357Request>

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 'Send8357Request'.

Response Information

Resource Description

Send8357Response

TaskyamWebAPI.Models.Send8357Response
NameDescriptionTypeAdditional information
ResponseHeader

TaskyamWebAPI.Models.ResponseHeader

None.

ResponseObj

Neta.NetaReceiversAssemblies.Service_8357.INF_MSG_Generic

None.

ESBResponse

Neta.NetaReceiversAssemblies.Service_8357.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:59:50.4660719+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:59:50.4660719+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:
<Send8357Response 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:59:50.4660719+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:59:50.4660719+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>
</Send8357Response>