POST api/Messages/Send1050

Send SaveCC_MSG1050_EntryExitToFromCustomsStorageSitesMessage_In to Customs

Request Information

URI Parameters

None.

Body Parameters

TaskyamWebAPI.Models.Send1050Request
NameDescriptionTypeAdditional information
RequestHeader

TaskyamWebAPI.Models.RequestHeader

None.

RequestObj

Neta.NetaReceiversAssemblies.Service_1050.CC_MSG1_EntryExitToFromCustomsStorageSitesMessage

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"
    ]
  },
  "RequestObj": {
    "RequestContentHeader": {
      "TransmitionDateTime": "2025-03-14T19:01:59.4225341+02:00",
      "SenderID": 2,
      "RecieverID": [
        1,
        2
      ],
      "Convertor": "sample string 3"
    },
    "General": {
      "exitEntryEventType": 1,
      "functionCode": 2,
      "referenceNumber": "sample string 3",
      "referenceType": 1,
      "referenceTypeSpecified": true,
      "cargoDescription": "sample string 5",
      "cargoWeight": 1.0,
      "cargoWeightSpecified": true,
      "documentNumber": "sample string 7",
      "entryExitDateTime": "2025-03-14T19:01:59.4225341+02:00",
      "exceptionEntryReason": 1,
      "exceptionEntryReasonSpecified": true
    },
    "TransferDetails": {
      "cargoTransferMethodType": "sample string 1",
      "totalWeight": 1.0,
      "totalWeightSpecified": true,
      "taraTruckWeight": 1.0,
      "taraTruckWeightSpecified": true,
      "transportationCompany": 1,
      "transportationCompanySpecified": true,
      "vehicleNumber": "sample string 5",
      "countryCode": "sample string 6",
      "isIsraeliVehicle": 1,
      "isIsraeliVehicleSpecified": true,
      "driverName": "sample string 8",
      "driverIdentityNumber": "sample string 9"
    },
    "ReportingDetails": {
      "accumulatedQuantity": 1.0,
      "accumulatedQuantitySpecified": true,
      "accumulatedWeight": 1.0,
      "accumulatedWeightSpecified": true,
      "remainingQuantity": 1.0,
      "remainingQuantitySpecified": true,
      "remainingWeight": 1.0,
      "remainingWeightSpecified": true,
      "cargoCompletenessStatus": 1,
      "cargoCompletenessStatusSpecified": true,
      "rowNumber": "sample string 6",
      "containerNumber": "sample string 7",
      "packingTypeCode": "sample string 8",
      "totalAmountOfDamagedPackages": 1,
      "totalAmountOfDamagedPackagesSpecified": true,
      "totalAmountOfPackages": 1,
      "totalAmountOfPackagesSpecified": true,
      "remarks": "sample string 11",
      "exitEntrySiteNumber": "sample string 12",
      "expectedArrivalSiteNumber": "sample string 13",
      "isLastExiOrLasttEntry": true,
      "isLastExiOrLasttEntrySpecified": true,
      "exitReason": 1,
      "exitReasonSpecified": true,
      "cargoIdentifier": {
        "cargoIdentifierType": 1,
        "cargoIdentifierKey1": "sample string 2",
        "cargoIdentifierKey2": "sample string 3",
        "cargoIdentifierKey3": "sample string 4"
      },
      "totalNumberOfvehicles": 1,
      "totalNumberOfvehiclesSpecified": true,
      "ManifestNum": "sample string 17",
      "customsItemID": "sample string 18"
    },
    "ReporterDetails": {
      "reportingSiteNumber": "sample string 1",
      "reportingContactName": "sample string 2",
      "gateNumber": "sample string 3"
    },
    "Seals": [
      {
        "sealCompletenessCode": 1,
        "sealNumber": "sample string 2",
        "sealTypeCode": 1,
        "sealTypeCodeSpecified": true,
        "remarks": "sample string 4"
      },
      {
        "sealCompletenessCode": 1,
        "sealNumber": "sample string 2",
        "sealTypeCode": 1,
        "sealTypeCodeSpecified": true,
        "remarks": "sample string 4"
      }
    ],
    "Vehicles": [
      {
        "vehicleIdentityType": "sample string 1",
        "vehicleIdentityNumber": "sample string 2"
      },
      {
        "vehicleIdentityType": "sample string 1",
        "vehicleIdentityNumber": "sample string 2"
      }
    ],
    "Packaging": [
      {
        "PackingDetails": {
          "packageType": "sample string 1",
          "packageId": "sample string 2",
          "quantity": "sample string 3",
          "weight": 1.0,
          "weightSpecified": true
        },
        "weightUnitOfMeasure": "sample string 1"
      },
      {
        "PackingDetails": {
          "packageType": "sample string 1",
          "packageId": "sample string 2",
          "quantity": "sample string 3",
          "weight": 1.0,
          "weightSpecified": true
        },
        "weightUnitOfMeasure": "sample string 1"
      }
    ],
    "ExportDetails": {
      "ShipLoidsNumber": "sample string 1",
      "ShipAgent": 2,
      "ShipAgentSpecified": true,
      "MasterBillOfLadingNumber": "sample string 4",
      "FlightNumber": "sample string 5",
      "FlightCompanyCode": "sample string 6"
    }
  }
}

application/xml, text/xml

Sample:
<Send1050Request 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>
  <RequestObj>
    <RequestContentHeader xmlns="http://malam.com/customs/CargoControl/CC_MSG1_EntryExitToFromCustomsStorageSitesMessage.xsd">
      <TransmitionDateTime xmlns="http://malam.com/customs/EAICommon.xsd">2025-03-14T19:01:59.4225341+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>
    <General xmlns="http://malam.com/customs/CargoControl/CC_MSG1_EntryExitToFromCustomsStorageSitesMessage.xsd">
      <exitEntryEventType>1</exitEntryEventType>
      <functionCode>2</functionCode>
      <referenceNumber>sample string 3</referenceNumber>
      <referenceType>1</referenceType>
      <cargoDescription>sample string 5</cargoDescription>
      <cargoWeight>1</cargoWeight>
      <documentNumber>sample string 7</documentNumber>
      <entryExitDateTime>2025-03-14T19:01:59.4225341+02:00</entryExitDateTime>
      <exceptionEntryReason>1</exceptionEntryReason>
    </General>
    <TransferDetails xmlns="http://malam.com/customs/CargoControl/CC_MSG1_EntryExitToFromCustomsStorageSitesMessage.xsd">
      <cargoTransferMethodType>sample string 1</cargoTransferMethodType>
      <totalWeight>1</totalWeight>
      <taraTruckWeight>1</taraTruckWeight>
      <transportationCompany>1</transportationCompany>
      <vehicleNumber>sample string 5</vehicleNumber>
      <countryCode>sample string 6</countryCode>
      <isIsraeliVehicle>1</isIsraeliVehicle>
      <driverName>sample string 8</driverName>
      <driverIdentityNumber>sample string 9</driverIdentityNumber>
    </TransferDetails>
    <ReportingDetails xmlns="http://malam.com/customs/CargoControl/CC_MSG1_EntryExitToFromCustomsStorageSitesMessage.xsd">
      <accumulatedQuantity>1</accumulatedQuantity>
      <accumulatedWeight>1</accumulatedWeight>
      <remainingQuantity>1</remainingQuantity>
      <remainingWeight>1</remainingWeight>
      <cargoCompletenessStatus>1</cargoCompletenessStatus>
      <rowNumber>sample string 6</rowNumber>
      <containerNumber>sample string 7</containerNumber>
      <packingTypeCode>sample string 8</packingTypeCode>
      <totalAmountOfDamagedPackages>1</totalAmountOfDamagedPackages>
      <totalAmountOfPackages>1</totalAmountOfPackages>
      <remarks>sample string 11</remarks>
      <exitEntrySiteNumber>sample string 12</exitEntrySiteNumber>
      <expectedArrivalSiteNumber>sample string 13</expectedArrivalSiteNumber>
      <isLastExiOrLasttEntry>true</isLastExiOrLasttEntry>
      <exitReason>1</exitReason>
      <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>
      <totalNumberOfvehicles>1</totalNumberOfvehicles>
      <ManifestNum>sample string 17</ManifestNum>
      <customsItemID>sample string 18</customsItemID>
    </ReportingDetails>
    <ReporterDetails xmlns="http://malam.com/customs/CargoControl/CC_MSG1_EntryExitToFromCustomsStorageSitesMessage.xsd">
      <reportingSiteNumber>sample string 1</reportingSiteNumber>
      <reportingContactName>sample string 2</reportingContactName>
      <gateNumber>sample string 3</gateNumber>
    </ReporterDetails>
    <Seals xmlns="http://malam.com/customs/CargoControl/CC_MSG1_EntryExitToFromCustomsStorageSitesMessage.xsd">
      <sealCompletenessCode>1</sealCompletenessCode>
      <sealNumber>sample string 2</sealNumber>
      <sealTypeCode>1</sealTypeCode>
      <remarks>sample string 4</remarks>
    </Seals>
    <Seals xmlns="http://malam.com/customs/CargoControl/CC_MSG1_EntryExitToFromCustomsStorageSitesMessage.xsd">
      <sealCompletenessCode>1</sealCompletenessCode>
      <sealNumber>sample string 2</sealNumber>
      <sealTypeCode>1</sealTypeCode>
      <remarks>sample string 4</remarks>
    </Seals>
    <Vehicles xmlns="http://malam.com/customs/CargoControl/CC_MSG1_EntryExitToFromCustomsStorageSitesMessage.xsd">
      <vehicleIdentityType>sample string 1</vehicleIdentityType>
      <vehicleIdentityNumber>sample string 2</vehicleIdentityNumber>
    </Vehicles>
    <Vehicles xmlns="http://malam.com/customs/CargoControl/CC_MSG1_EntryExitToFromCustomsStorageSitesMessage.xsd">
      <vehicleIdentityType>sample string 1</vehicleIdentityType>
      <vehicleIdentityNumber>sample string 2</vehicleIdentityNumber>
    </Vehicles>
    <Packaging xmlns="http://malam.com/customs/CargoControl/CC_MSG1_EntryExitToFromCustomsStorageSitesMessage.xsd">
      <PackingDetails>
        <packageType xmlns="http://malam.com/customs/EAICommon.xsd">sample string 1</packageType>
        <packageId xmlns="http://malam.com/customs/EAICommon.xsd">sample string 2</packageId>
        <quantity xmlns="http://malam.com/customs/EAICommon.xsd">sample string 3</quantity>
        <weight xmlns="http://malam.com/customs/EAICommon.xsd">1</weight>
      </PackingDetails>
      <weightUnitOfMeasure>sample string 1</weightUnitOfMeasure>
    </Packaging>
    <Packaging xmlns="http://malam.com/customs/CargoControl/CC_MSG1_EntryExitToFromCustomsStorageSitesMessage.xsd">
      <PackingDetails>
        <packageType xmlns="http://malam.com/customs/EAICommon.xsd">sample string 1</packageType>
        <packageId xmlns="http://malam.com/customs/EAICommon.xsd">sample string 2</packageId>
        <quantity xmlns="http://malam.com/customs/EAICommon.xsd">sample string 3</quantity>
        <weight xmlns="http://malam.com/customs/EAICommon.xsd">1</weight>
      </PackingDetails>
      <weightUnitOfMeasure>sample string 1</weightUnitOfMeasure>
    </Packaging>
    <ExportDetails xmlns="http://malam.com/customs/CargoControl/CC_MSG1_EntryExitToFromCustomsStorageSitesMessage.xsd">
      <ShipLoidsNumber>sample string 1</ShipLoidsNumber>
      <ShipAgent>2</ShipAgent>
      <MasterBillOfLadingNumber>sample string 4</MasterBillOfLadingNumber>
      <FlightNumber>sample string 5</FlightNumber>
      <FlightCompanyCode>sample string 6</FlightCompanyCode>
    </ExportDetails>
  </RequestObj>
</Send1050Request>

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

Response Information

Resource Description

Send1050Response

TaskyamWebAPI.Models.Send1050Response
NameDescriptionTypeAdditional information
ResponseHeader

TaskyamWebAPI.Models.ResponseHeader

None.

ResponseObj

Neta.NetaReceiversAssemblies.Service_1050.INF_MSG_Generic

None.

ESBResponse

Neta.NetaReceiversAssemblies.Service_1050.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-14T19:01:59.5006648+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-14T19:01:59.5006648+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:
<Send1050Response 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-14T19:01:59.5006648+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-14T19:01:59.5006648+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>
</Send1050Response>