POST api/package/GetPackageDetails
Request Information
URI Parameters
None.
Body Parameters
PackageDetailsRequestName | Description | Type | Additional information |
---|---|---|---|
BarCode | string |
None. |
|
SearchKeyWord | string |
None. |
|
PickOrderID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "BarCode": "sample string 1", "SearchKeyWord": "sample string 2", "PickOrderID": 3 }
application/xml, text/xml
Sample:
<PackageDetailsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MYLERZ.Base.DTO.MobileDTO"> <BarCode>sample string 1</BarCode> <PickOrderID>3</PickOrderID> <SearchKeyWord>sample string 2</SearchKeyWord> </PackageDetailsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DescriptiveResponseOfPackageDetailsDTOName | Description | Type | Additional information |
---|---|---|---|
Value | PackageDetailsDTO |
None. |
|
CoreValue | string |
None. |
|
IsErrorState | boolean |
None. |
|
ErrorDescription | string |
None. |
|
ErrorMetadata | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Value": { "PackageID": 1, "CurrentStatus": { "ISDefault": true, "EndOfFlow": true, "ColorCode": "sample string 1", "PhaseID": 1, "PhaseEnName": "sample string 2", "PhaseArName": "sample string 3", "NeedDate": true, "HasPODCode": true, "NeedReason": true, "NeedServiceCategory": true, "ReasonCategoryIds": [ 1, 2 ], "AssignMyler": true, "Id": 9, "Code": "sample string 10", "ArName": "sample string 11", "EnName": "sample string 12" }, "NextStatuses": [ { "ISDefault": true, "EndOfFlow": true, "ColorCode": "sample string 1", "PhaseID": 1, "PhaseEnName": "sample string 2", "PhaseArName": "sample string 3", "NeedDate": true, "HasPODCode": true, "NeedReason": true, "NeedServiceCategory": true, "ReasonCategoryIds": [ 1, 2 ], "AssignMyler": true, "Id": 9, "Code": "sample string 10", "ArName": "sample string 11", "EnName": "sample string 12" }, { "ISDefault": true, "EndOfFlow": true, "ColorCode": "sample string 1", "PhaseID": 1, "PhaseEnName": "sample string 2", "PhaseArName": "sample string 3", "NeedDate": true, "HasPODCode": true, "NeedReason": true, "NeedServiceCategory": true, "ReasonCategoryIds": [ 1, 2 ], "AssignMyler": true, "Id": 9, "Code": "sample string 10", "ArName": "sample string 11", "EnName": "sample string 12" } ], "Barcode": "sample string 2", "Pieces": [ { "PieceId": 1, "PackageId": 1, "Describtion": "sample string 2", "Weight": "sample string 3", "Dimentions": "sample string 4", "BarCode": "sample string 5", "IsScanned": true, "ReferenceNumber": "sample string 6" }, { "PieceId": 1, "PackageId": 1, "Describtion": "sample string 2", "Weight": "sample string 3", "Dimentions": "sample string 4", "BarCode": "sample string 5", "IsScanned": true, "ReferenceNumber": "sample string 6" } ], "PackageDescription": "sample string 3", "COD": "sample string 4", "LastActionID": 1, "NormaOrderStatusId": 1, "PhoneNumber": "sample string 5", "FirstMileLatitude": 6.1, "FirstMileLongitude": 7.1, "LastMileLatitude": 8.1, "LastMileLongitude": 9.1, "ReferenceNumber": "sample string 10", "HasPOD": true, "PaymentTypeId": 12 }, "CoreValue": "sample string 1", "IsErrorState": true, "ErrorDescription": "sample string 3", "ErrorMetadata": {} }
application/xml, text/xml
Sample:
<DescriptiveResponseOfPackageDetailsDTOs_SlrnjSQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MYLERZ.Base.Entities"> <CoreValue>sample string 1</CoreValue> <ErrorDescription>sample string 3</ErrorDescription> <ErrorMetadata /> <IsErrorState>true</IsErrorState> <Value xmlns:d2p1="http://schemas.datacontract.org/2004/07/MYLERZ.Base.DTO.MobileDTO"> <d2p1:Barcode>sample string 2</d2p1:Barcode> <d2p1:COD>sample string 4</d2p1:COD> <d2p1:CurrentStatus xmlns:d3p1="http://schemas.datacontract.org/2004/07/MYLERZ.Base.DTO"> <d3p1:ArName>sample string 11</d3p1:ArName> <d3p1:Code>sample string 10</d3p1:Code> <d3p1:EnName>sample string 12</d3p1:EnName> <d3p1:Id>9</d3p1:Id> <d3p1:AssignMyler>true</d3p1:AssignMyler> <d3p1:ColorCode>sample string 1</d3p1:ColorCode> <d3p1:EndOfFlow>true</d3p1:EndOfFlow> <d3p1:HasPODCode>true</d3p1:HasPODCode> <d3p1:ISDefault>true</d3p1:ISDefault> <d3p1:NeedDate>true</d3p1:NeedDate> <d3p1:NeedReason>true</d3p1:NeedReason> <d3p1:NeedServiceCategory>true</d3p1:NeedServiceCategory> <d3p1:PhaseArName>sample string 3</d3p1:PhaseArName> <d3p1:PhaseEnName>sample string 2</d3p1:PhaseEnName> <d3p1:PhaseID>1</d3p1:PhaseID> <d3p1:ReasonCategoryIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </d3p1:ReasonCategoryIds> </d2p1:CurrentStatus> <d2p1:FirstMileLatitude>6.1</d2p1:FirstMileLatitude> <d2p1:FirstMileLongitude>7.1</d2p1:FirstMileLongitude> <d2p1:HasPOD>true</d2p1:HasPOD> <d2p1:LastActionID>1</d2p1:LastActionID> <d2p1:LastMileLatitude>8.1</d2p1:LastMileLatitude> <d2p1:LastMileLongitude>9.1</d2p1:LastMileLongitude> <d2p1:NextStatuses xmlns:d3p1="http://schemas.datacontract.org/2004/07/MYLERZ.Base.DTO"> <d3p1:StatusDTO> <d3p1:ArName>sample string 11</d3p1:ArName> <d3p1:Code>sample string 10</d3p1:Code> <d3p1:EnName>sample string 12</d3p1:EnName> <d3p1:Id>9</d3p1:Id> <d3p1:AssignMyler>true</d3p1:AssignMyler> <d3p1:ColorCode>sample string 1</d3p1:ColorCode> <d3p1:EndOfFlow>true</d3p1:EndOfFlow> <d3p1:HasPODCode>true</d3p1:HasPODCode> <d3p1:ISDefault>true</d3p1:ISDefault> <d3p1:NeedDate>true</d3p1:NeedDate> <d3p1:NeedReason>true</d3p1:NeedReason> <d3p1:NeedServiceCategory>true</d3p1:NeedServiceCategory> <d3p1:PhaseArName>sample string 3</d3p1:PhaseArName> <d3p1:PhaseEnName>sample string 2</d3p1:PhaseEnName> <d3p1:PhaseID>1</d3p1:PhaseID> <d3p1:ReasonCategoryIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>1</d5p1:int> <d5p1:int>2</d5p1:int> </d3p1:ReasonCategoryIds> </d3p1:StatusDTO> <d3p1:StatusDTO> <d3p1:ArName>sample string 11</d3p1:ArName> <d3p1:Code>sample string 10</d3p1:Code> <d3p1:EnName>sample string 12</d3p1:EnName> <d3p1:Id>9</d3p1:Id> <d3p1:AssignMyler>true</d3p1:AssignMyler> <d3p1:ColorCode>sample string 1</d3p1:ColorCode> <d3p1:EndOfFlow>true</d3p1:EndOfFlow> <d3p1:HasPODCode>true</d3p1:HasPODCode> <d3p1:ISDefault>true</d3p1:ISDefault> <d3p1:NeedDate>true</d3p1:NeedDate> <d3p1:NeedReason>true</d3p1:NeedReason> <d3p1:NeedServiceCategory>true</d3p1:NeedServiceCategory> <d3p1:PhaseArName>sample string 3</d3p1:PhaseArName> <d3p1:PhaseEnName>sample string 2</d3p1:PhaseEnName> <d3p1:PhaseID>1</d3p1:PhaseID> <d3p1:ReasonCategoryIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>1</d5p1:int> <d5p1:int>2</d5p1:int> </d3p1:ReasonCategoryIds> </d3p1:StatusDTO> </d2p1:NextStatuses> <d2p1:NormaOrderStatusId>1</d2p1:NormaOrderStatusId> <d2p1:PackageDescription>sample string 3</d2p1:PackageDescription> <d2p1:PackageID>1</d2p1:PackageID> <d2p1:PaymentTypeId>12</d2p1:PaymentTypeId> <d2p1:PhoneNumber>sample string 5</d2p1:PhoneNumber> <d2p1:Pieces> <d2p1:MobilePackagePiecesDTO> <d2p1:BarCode>sample string 5</d2p1:BarCode> <d2p1:Describtion>sample string 2</d2p1:Describtion> <d2p1:Dimentions>sample string 4</d2p1:Dimentions> <d2p1:IsScanned>true</d2p1:IsScanned> <d2p1:PackageId>1</d2p1:PackageId> <d2p1:PieceId>1</d2p1:PieceId> <d2p1:ReferenceNumber>sample string 6</d2p1:ReferenceNumber> <d2p1:Weight>sample string 3</d2p1:Weight> </d2p1:MobilePackagePiecesDTO> <d2p1:MobilePackagePiecesDTO> <d2p1:BarCode>sample string 5</d2p1:BarCode> <d2p1:Describtion>sample string 2</d2p1:Describtion> <d2p1:Dimentions>sample string 4</d2p1:Dimentions> <d2p1:IsScanned>true</d2p1:IsScanned> <d2p1:PackageId>1</d2p1:PackageId> <d2p1:PieceId>1</d2p1:PieceId> <d2p1:ReferenceNumber>sample string 6</d2p1:ReferenceNumber> <d2p1:Weight>sample string 3</d2p1:Weight> </d2p1:MobilePackagePiecesDTO> </d2p1:Pieces> <d2p1:ReferenceNumber>sample string 10</d2p1:ReferenceNumber> </Value> </DescriptiveResponseOfPackageDetailsDTOs_SlrnjSQ>