POST api/Messages/Send20
Send SaveST_MSG20_StorageEntranceUnloading_In to Customs
Request Information
URI Parameters
None.
Body Parameters
TaskyamWebAPI.Models.Send20RequestName | Description | Type | Additional information |
---|---|---|---|
RequestHeader | TaskyamWebAPI.Models.RequestHeader |
None. |
|
RequestObj | Neta.NetaReceiversAssemblies.Service_20.ST_NG_20_MSG5_StorageEntranceUnloading |
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-14T18:47:45.1748132+02:00", "SenderID": 2, "RecieverID": [ 1, 2 ], "Convertor": "sample string 3" }, "StorageEntranceUnloading": { "siteNumber": "sample string 1", "cargoIdentifier": { "cargoIdentifierType": 1, "cargoIdentifierKey1": "sample string 2", "cargoIdentifierKey2": "sample string 3", "cargoIdentifierKey3": "sample string 4" }, "cargoRowNumber": 1, "cargoRowNumberSpecified": true, "warehouseBlockNumber": 1, "warehouseBlockNumberSpecified": true, "loadUnloadCloseDate": "2025-03-14T18:47:45.1748132+02:00", "acceptanceAppearanceNumber": 5, "functionCode": 6, "ManifestNumber": "sample string 7", "TheoreticalInfo": true, "TheoreticalInfoSpecified": true }, "ConsignmentItem": [ { "PackingDetails": { "packageType": "sample string 1", "packageId": "sample string 2", "quantity": "sample string 3", "weight": 1.0, "weightSpecified": true }, "exceptionCheck": true, "exceptionCheckSpecified": true, "exceptionType": 1, "exceptionTypeSpecified": true, "exceptionDetails": "sample string 3" }, { "PackingDetails": { "packageType": "sample string 1", "packageId": "sample string 2", "quantity": "sample string 3", "weight": 1.0, "weightSpecified": true }, "exceptionCheck": true, "exceptionCheckSpecified": true, "exceptionType": 1, "exceptionTypeSpecified": true, "exceptionDetails": "sample string 3" } ], "AccumulatedPackingFromStorageSite": [ { "packageType": "sample string 1", "packageId": "sample string 2", "quantity": "sample string 3", "weight": 1.0, "weightSpecified": true }, { "packageType": "sample string 1", "packageId": "sample string 2", "quantity": "sample string 3", "weight": 1.0, "weightSpecified": true } ], "ExportDetails": { "exporterNumber": "sample string 1", "finalPort": "sample string 2", "unloadingPort": "sample string 3", "masterBillOfLanding": "sample string 4" }, "PostItemDetails": { "Attachment": { "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" }, "PostActionType": 1, "PostUnloadingType": 1, "PostUnloadingTypeSpecified": true, "groupNumber": 1, "groupNumberSpecified": true, "groupDate": "2025-03-14T18:47:45.1904641+02:00", "groupDateSpecified": true, "relatedSiteNumber": "sample string 5", "postalVendorID": "sample string 6", "vendorID": 1, "vendorIDSpecified": true, "closingReason": 1, "closingReasonSpecified": true, "closingDate": "2025-03-14T18:47:45.1904641+02:00", "closingDateSpecified": true, "returningReason": 1, "returningReasonSpecified": true }, "LandDeal": { "CargoIndication": true, "OtherTransport": [ { "vehicleNumber": "sample string 1", "countryCode": "sample string 2" }, { "vehicleNumber": "sample string 1", "countryCode": "sample string 2" } ], "IsraelTransport": [ { "vehicleNumber": "sample string 1" }, { "vehicleNumber": "sample string 1" } ] } } }
application/xml, text/xml
Sample:
<Send20Request 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/Storage/ST_NG_20_MSG5_StorageEntranceUnloading"> <TransmitionDateTime xmlns="http://malam.com/customs/EAICommon.xsd">2025-03-14T18:47:45.1748132+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> <StorageEntranceUnloading xmlns="http://malam.com/customs/Storage/ST_NG_20_MSG5_StorageEntranceUnloading"> <siteNumber>sample string 1</siteNumber> <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> <warehouseBlockNumber>1</warehouseBlockNumber> <loadUnloadCloseDate>2025-03-14T18:47:45.1748132+02:00</loadUnloadCloseDate> <acceptanceAppearanceNumber>5</acceptanceAppearanceNumber> <functionCode>6</functionCode> <ManifestNumber>sample string 7</ManifestNumber> <TheoreticalInfo>true</TheoreticalInfo> </StorageEntranceUnloading> <ConsignmentItem xmlns="http://malam.com/customs/Storage/ST_NG_20_MSG5_StorageEntranceUnloading"> <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> <exceptionCheck>true</exceptionCheck> <exceptionType>1</exceptionType> <exceptionDetails>sample string 3</exceptionDetails> </ConsignmentItem> <ConsignmentItem xmlns="http://malam.com/customs/Storage/ST_NG_20_MSG5_StorageEntranceUnloading"> <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> <exceptionCheck>true</exceptionCheck> <exceptionType>1</exceptionType> <exceptionDetails>sample string 3</exceptionDetails> </ConsignmentItem> <AccumulatedPackingFromStorageSite xmlns="http://malam.com/customs/Storage/ST_NG_20_MSG5_StorageEntranceUnloading"> <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> </AccumulatedPackingFromStorageSite> <AccumulatedPackingFromStorageSite xmlns="http://malam.com/customs/Storage/ST_NG_20_MSG5_StorageEntranceUnloading"> <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> </AccumulatedPackingFromStorageSite> <ExportDetails xmlns="http://malam.com/customs/Storage/ST_NG_20_MSG5_StorageEntranceUnloading"> <exporterNumber>sample string 1</exporterNumber> <finalPort>sample string 2</finalPort> <unloadingPort>sample string 3</unloadingPort> <masterBillOfLanding>sample string 4</masterBillOfLanding> </ExportDetails> <PostItemDetails xmlns="http://malam.com/customs/Storage/ST_NG_20_MSG5_StorageEntranceUnloading"> <Attachment IsAttachment="sample string 7"> <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> </Attachment> <PostActionType>1</PostActionType> <PostUnloadingType>1</PostUnloadingType> <groupNumber>1</groupNumber> <groupDate>2025-03-14</groupDate> <relatedSiteNumber>sample string 5</relatedSiteNumber> <postalVendorID>sample string 6</postalVendorID> <vendorID>1</vendorID> <closingReason>1</closingReason> <closingDate>2025-03-14</closingDate> <returningReason>1</returningReason> </PostItemDetails> <LandDeal xmlns="http://malam.com/customs/Storage/ST_NG_20_MSG5_StorageEntranceUnloading"> <CargoIndication>true</CargoIndication> <OtherTransport> <vehicleNumber>sample string 1</vehicleNumber> <countryCode>sample string 2</countryCode> </OtherTransport> <OtherTransport> <vehicleNumber>sample string 1</vehicleNumber> <countryCode>sample string 2</countryCode> </OtherTransport> <IsraelTransport> <vehicleNumber>sample string 1</vehicleNumber> </IsraelTransport> <IsraelTransport> <vehicleNumber>sample string 1</vehicleNumber> </IsraelTransport> </LandDeal> </RequestObj> </Send20Request>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Send20Response
TaskyamWebAPI.Models.Send20ResponseName | Description | Type | Additional information |
---|---|---|---|
ResponseHeader | TaskyamWebAPI.Models.ResponseHeader |
None. |
|
ResponseObj | Neta.NetaReceiversAssemblies.Service_20.INF_MSG_Generic |
None. |
|
ESBResponse | Neta.NetaReceiversAssemblies.Service_20.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:47:45.2217239+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:47:45.2217239+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:
<Send20Response 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:47:45.2217239+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:47:45.2217239+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> </Send20Response>