POST api/Messages/Send2790

Send SaveMN_2790_MSG5_ExportDeliveryDocumentMessage_In to Customs

Request Information

URI Parameters

None.

Body Parameters

TaskyamWebAPI.Models.Send2790Request
NameDescriptionTypeAdditional information
RequestHeader

TaskyamWebAPI.Models.RequestHeader

None.

RequestObjSigned

Neta.NetaReceiversAssemblies.Service_2790.ESBRequestSigned

None.

RequestSigned

Collection of byte

None.

RequestObj

Neta.NetaReceiversAssemblies.Service_2790.MN_MSG5_ExportDeliveryDocumentMessage

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:53:46.0113339+02:00",
      "SenderID": 2,
      "RecieverID": [
        1,
        2
      ],
      "Convertor": "sample string 3"
    },
    "General": {
      "OperationCode": 1,
      "SenderCodeID": 2,
      "MessageFromForm": true,
      "MessageFromFormSpecified": true,
      "ReplyPhoneNumeric": "sample string 4",
      "OperatorID": "sample string 5",
      "InformedParty": 1,
      "InformedPartySpecified": true,
      "DeclarationNumber": "sample string 7",
      "DeclarationsInContainer": 8,
      "DeclarationsInContainerSpecified": true,
      "ExportManifestNumber": "sample string 10",
      "ForwarderReference": "sample string 11",
      "ExportDealIdentification": "sample string 12",
      "TransactionQuantity": 1,
      "TransactionQuantitySpecified": true,
      "ExportDocument": "sample string 14",
      "MessageContent": "sample string 15",
      "BookingNumber": "sample string 16",
      "LogisticDeliveryTypeID": 1,
      "LogisticDeliveryTypeIDSpecified": true,
      "CargoRows": 18,
      "CargoRowsSpecified": true,
      "ExporterIdentificationType": 20,
      "ExporterIdentificationTypeSpecified": true,
      "ExporterNumber": "sample string 22",
      "PassportCountry": "sample string 23",
      "ExporterName": "sample string 24",
      "ExporterFileNumber": "sample string 25",
      "OriginExportingSite": "sample string 26",
      "ReceivingSite": "sample string 27",
      "StorageOrDockID": "sample string 28",
      "StuffingSiteType": 1,
      "StuffingSiteTypeSpecified": true,
      "LoadingSite": "sample string 30",
      "FinalDestinationInternationalSiteID": "sample string 31",
      "FirstDestinationInternationalSiteID": "sample string 32",
      "OriginAbroadSite": "sample string 33",
      "ShipCode": "sample string 34",
      "ShipName": "sample string 35",
      "ShipAgent": "sample string 36",
      "ShippingCompanyCode": "sample string 37",
      "SecurityClearence": 38,
      "SecurityClearenceSpecified": true,
      "MessageSendDate": 40,
      "MessageSendDateSpecified": true,
      "MessageSendHour": 42,
      "MessageSendHourSpecified": true
    },
    "cargoIdentifier": {
      "cargoIdentifierType": 1,
      "cargoIdentifierKey1": "sample string 2",
      "cargoIdentifierKey2": "sample string 3",
      "cargoIdentifierKey3": "sample string 4"
    },
    "CargoDetails": {
      "CargoDescription": "sample string 1",
      "CargoType": 2,
      "HandingCode": 3,
      "HandingCodeSpecified": true,
      "DangerousGoodsIndication": true,
      "CodeBreaksIndication": true,
      "DamageCode": true,
      "DamageCodeSpecified": true,
      "ForeignCurrencyType": "sample string 8",
      "ForeignCurrencyAmount": "sample string 9",
      "GoodsValueNIS": "sample string 10",
      "MarksNumbers": "sample string 11",
      "PackageType": "sample string 12",
      "Quantity": "sample string 13",
      "WeightInPortMandatory": true,
      "WeightInPortMandatorySpecified": true,
      "Weight": 15.0,
      "VolumeSize": 1,
      "VolumeSizeSpecified": true,
      "LicensePlateNumber": "sample string 17",
      "CustomsItem": [
        {
          "CustomsItem": "sample string 1"
        },
        {
          "CustomsItem": "sample string 1"
        }
      ],
      "DangerousSubstances": [
        {
          "RiskLevel": 1,
          "RiskLevelSpecified": true,
          "RiskGroup": 2,
          "UNNumber": "sample string 3",
          "DangerousSubstancename": "sample string 4"
        },
        {
          "RiskLevel": 1,
          "RiskLevelSpecified": true,
          "RiskGroup": 2,
          "UNNumber": "sample string 3",
          "DangerousSubstancename": "sample string 4"
        }
      ],
      "VGM": {
        "WeightVerificationNumber": "sample string 1",
        "ExporterReportedWeightID": "sample string 2",
        "ExporterReportedWeightName": "sample string 3"
      },
      "PortPackingType": "sample string 18"
    },
    "TransportDetails": [
      {
        "TransferCargoMethodType": "sample string 1",
        "TransportCompany": "sample string 2",
        "DriverId": "sample string 3",
        "TruckOrTrainNumber": "sample string 4",
        "DraggedOrSupportedNumber": "sample string 5",
        "ExpectedPortArrivalDate": "2025-03-14T18:53:46.0269489+02:00",
        "ExpectedPortArrivalDateSpecified": true
      },
      {
        "TransferCargoMethodType": "sample string 1",
        "TransportCompany": "sample string 2",
        "DriverId": "sample string 3",
        "TruckOrTrainNumber": "sample string 4",
        "DraggedOrSupportedNumber": "sample string 5",
        "ExpectedPortArrivalDate": "2025-03-14T18:53:46.0269489+02:00",
        "ExpectedPortArrivalDateSpecified": true
      }
    ],
    "ContainerDetails": {
      "ContainerTypeWCO": "sample string 1",
      "ContainerNumber": "sample string 2",
      "OwnershipCode": "sample string 3",
      "CoolingActivated": true,
      "CoolingActivatedSpecified": true,
      "RequiredTemperature": 1.0,
      "RequiredTemperatureSpecified": true,
      "PharmaGroceryIndication": true,
      "PharmaGroceryIndicationSpecified": true,
      "LeftException": 1,
      "LeftExceptionSpecified": true,
      "RightException": 1,
      "RightExceptionSpecified": true,
      "FrontException": 1,
      "FrontExceptionSpecified": true,
      "BackException": 1,
      "BackExceptionSpecified": true,
      "FullnessCode": 1,
      "ContainerLineCode": "sample string 11",
      "CoolingReportingMethod": 1,
      "CoolingReportingMethodSpecified": true,
      "VentValue": 1,
      "VentValueSpecified": true,
      "HumidityPercentage": 1,
      "HumidityPercentageSpecified": true,
      "Co2Percentage": 1,
      "Co2PercentageSpecified": true,
      "O2Percentage": 1,
      "O2PercentageSpecified": true,
      "HeightException": 1,
      "HeightExceptionSpecified": true,
      "Seal": [
        {
          "sealType": 1,
          "sealNumber": "sample string 2"
        },
        {
          "sealType": 1,
          "sealNumber": "sample string 2"
        }
      ]
    }
  }
}

application/xml, text/xml

Sample:
<Send2790Request 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/MN_MSG5_ExportDeliveryDocumentMessage">
      <TransmitionDateTime xmlns="http://malam.com/customs/EAICommon.xsd">2025-03-14T18:53:46.0113339+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/MN_MSG5_ExportDeliveryDocumentMessage">
      <OperationCode>1</OperationCode>
      <SenderCodeID>2</SenderCodeID>
      <MessageFromForm>true</MessageFromForm>
      <ReplyPhoneNumeric>sample string 4</ReplyPhoneNumeric>
      <OperatorID>sample string 5</OperatorID>
      <InformedParty>1</InformedParty>
      <DeclarationNumber>sample string 7</DeclarationNumber>
      <DeclarationsInContainer>8</DeclarationsInContainer>
      <ExportManifestNumber>sample string 10</ExportManifestNumber>
      <ForwarderReference>sample string 11</ForwarderReference>
      <ExportDealIdentification>sample string 12</ExportDealIdentification>
      <TransactionQuantity>1</TransactionQuantity>
      <ExportDocument>sample string 14</ExportDocument>
      <MessageContent>sample string 15</MessageContent>
      <BookingNumber>sample string 16</BookingNumber>
      <LogisticDeliveryTypeID>1</LogisticDeliveryTypeID>
      <CargoRows>18</CargoRows>
      <ExporterIdentificationType>20</ExporterIdentificationType>
      <ExporterNumber>sample string 22</ExporterNumber>
      <PassportCountry>sample string 23</PassportCountry>
      <ExporterName>sample string 24</ExporterName>
      <ExporterFileNumber>sample string 25</ExporterFileNumber>
      <OriginExportingSite>sample string 26</OriginExportingSite>
      <ReceivingSite>sample string 27</ReceivingSite>
      <StorageOrDockID>sample string 28</StorageOrDockID>
      <StuffingSiteType>1</StuffingSiteType>
      <LoadingSite>sample string 30</LoadingSite>
      <FinalDestinationInternationalSiteID>sample string 31</FinalDestinationInternationalSiteID>
      <FirstDestinationInternationalSiteID>sample string 32</FirstDestinationInternationalSiteID>
      <OriginAbroadSite>sample string 33</OriginAbroadSite>
      <ShipCode>sample string 34</ShipCode>
      <ShipName>sample string 35</ShipName>
      <ShipAgent>sample string 36</ShipAgent>
      <ShippingCompanyCode>sample string 37</ShippingCompanyCode>
      <SecurityClearence>38</SecurityClearence>
      <MessageSendDate>40</MessageSendDate>
      <MessageSendHour>42</MessageSendHour>
    </General>
    <cargoIdentifier xmlns="http://malam.com/customs/CargoControl/MN_MSG5_ExportDeliveryDocumentMessage">
      <cargoIdentifierType>1</cargoIdentifierType>
      <cargoIdentifierKey1>sample string 2</cargoIdentifierKey1>
      <cargoIdentifierKey2>sample string 3</cargoIdentifierKey2>
      <cargoIdentifierKey3>sample string 4</cargoIdentifierKey3>
    </cargoIdentifier>
    <CargoDetails xmlns="http://malam.com/customs/CargoControl/MN_MSG5_ExportDeliveryDocumentMessage">
      <CargoDescription>sample string 1</CargoDescription>
      <CargoType>2</CargoType>
      <HandingCode>3</HandingCode>
      <DangerousGoodsIndication>true</DangerousGoodsIndication>
      <CodeBreaksIndication>true</CodeBreaksIndication>
      <DamageCode>true</DamageCode>
      <ForeignCurrencyType>sample string 8</ForeignCurrencyType>
      <ForeignCurrencyAmount>sample string 9</ForeignCurrencyAmount>
      <GoodsValueNIS>sample string 10</GoodsValueNIS>
      <MarksNumbers>sample string 11</MarksNumbers>
      <PackageType>sample string 12</PackageType>
      <Quantity>sample string 13</Quantity>
      <WeightInPortMandatory>true</WeightInPortMandatory>
      <Weight>15</Weight>
      <VolumeSize>1</VolumeSize>
      <LicensePlateNumber>sample string 17</LicensePlateNumber>
      <CustomsItem>
        <CustomsItem>sample string 1</CustomsItem>
      </CustomsItem>
      <CustomsItem>
        <CustomsItem>sample string 1</CustomsItem>
      </CustomsItem>
      <DangerousSubstances>
        <RiskLevel>1</RiskLevel>
        <RiskGroup>2</RiskGroup>
        <UNNumber>sample string 3</UNNumber>
        <DangerousSubstancename>sample string 4</DangerousSubstancename>
      </DangerousSubstances>
      <DangerousSubstances>
        <RiskLevel>1</RiskLevel>
        <RiskGroup>2</RiskGroup>
        <UNNumber>sample string 3</UNNumber>
        <DangerousSubstancename>sample string 4</DangerousSubstancename>
      </DangerousSubstances>
      <VGM>
        <WeightVerificationNumber>sample string 1</WeightVerificationNumber>
        <ExporterReportedWeightID>sample string 2</ExporterReportedWeightID>
        <ExporterReportedWeightName>sample string 3</ExporterReportedWeightName>
      </VGM>
      <PortPackingType>sample string 18</PortPackingType>
    </CargoDetails>
    <TransportDetails xmlns="http://malam.com/customs/CargoControl/MN_MSG5_ExportDeliveryDocumentMessage">
      <TransferCargoMethodType>sample string 1</TransferCargoMethodType>
      <TransportCompany>sample string 2</TransportCompany>
      <DriverId>sample string 3</DriverId>
      <TruckOrTrainNumber>sample string 4</TruckOrTrainNumber>
      <DraggedOrSupportedNumber>sample string 5</DraggedOrSupportedNumber>
      <ExpectedPortArrivalDate>2025-03-14T18:53:46.0269489+02:00</ExpectedPortArrivalDate>
    </TransportDetails>
    <TransportDetails xmlns="http://malam.com/customs/CargoControl/MN_MSG5_ExportDeliveryDocumentMessage">
      <TransferCargoMethodType>sample string 1</TransferCargoMethodType>
      <TransportCompany>sample string 2</TransportCompany>
      <DriverId>sample string 3</DriverId>
      <TruckOrTrainNumber>sample string 4</TruckOrTrainNumber>
      <DraggedOrSupportedNumber>sample string 5</DraggedOrSupportedNumber>
      <ExpectedPortArrivalDate>2025-03-14T18:53:46.0269489+02:00</ExpectedPortArrivalDate>
    </TransportDetails>
    <ContainerDetails xmlns="http://malam.com/customs/CargoControl/MN_MSG5_ExportDeliveryDocumentMessage">
      <ContainerTypeWCO>sample string 1</ContainerTypeWCO>
      <ContainerNumber>sample string 2</ContainerNumber>
      <OwnershipCode>sample string 3</OwnershipCode>
      <CoolingActivated>true</CoolingActivated>
      <RequiredTemperature>1</RequiredTemperature>
      <PharmaGroceryIndication>true</PharmaGroceryIndication>
      <LeftException>1</LeftException>
      <RightException>1</RightException>
      <FrontException>1</FrontException>
      <BackException>1</BackException>
      <FullnessCode>1</FullnessCode>
      <ContainerLineCode>sample string 11</ContainerLineCode>
      <CoolingReportingMethod>1</CoolingReportingMethod>
      <VentValue>1</VentValue>
      <HumidityPercentage>1</HumidityPercentage>
      <Co2Percentage>1</Co2Percentage>
      <O2Percentage>1</O2Percentage>
      <HeightException>1</HeightException>
      <Seal>
        <sealType>1</sealType>
        <sealNumber>sample string 2</sealNumber>
      </Seal>
      <Seal>
        <sealType>1</sealType>
        <sealNumber>sample string 2</sealNumber>
      </Seal>
    </ContainerDetails>
  </RequestObj>
</Send2790Request>

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

Response Information

Resource Description

Send2790Response

TaskyamWebAPI.Models.Send2790Response
NameDescriptionTypeAdditional information
ResponseHeader

TaskyamWebAPI.Models.ResponseHeader

None.

ResponseObj

Neta.NetaReceiversAssemblies.Service_2790.INF_MSG_Generic

None.

ESBResponse

Neta.NetaReceiversAssemblies.Service_2790.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:53:46.0894564+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:53:46.0894564+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:
<Send2790Response 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:53:46.0894564+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:53:46.0894564+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>
</Send2790Response>