GET api/package/GetPackageDeliveryDetails?BarCode={BarCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
BarCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
DescriptiveResponseOfPackageDetailsDeliveryDTOName | Description | Type | Additional information |
---|---|---|---|
Value | PackageDetailsDeliveryDTO |
None. |
|
CoreValue | string |
None. |
|
IsErrorState | boolean |
None. |
|
ErrorDescription | string |
None. |
|
ErrorMetadata | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Value": { "DeliveryAddress": { "AddressId": 1, "BuildingNo": "sample string 1", "Street": "sample string 2", "Apartment": "sample string 3", "AddressCategoryEng": "sample string 4", "AddressCategoryArb": "sample string 5", "CityNameAr": "sample string 6", "CityNameEn": "sample string 7", "ZoneNameAr": "sample string 8", "ZoneNameEn": "sample string 9", "floor": "sample string 10", "SubZoneArName": "sample string 11", "SubZoneEnName": "sample string 12", "Latitude": 1.1, "Longitude": 1.1, "LandMark": "sample string 13" }, "PackageAddress": { "AddressId": 1, "BuildingNo": "sample string 1", "Street": "sample string 2", "Apartment": "sample string 3", "AddressCategoryEng": "sample string 4", "AddressCategoryArb": "sample string 5", "CityNameAr": "sample string 6", "CityNameEn": "sample string 7", "ZoneNameAr": "sample string 8", "ZoneNameEn": "sample string 9", "floor": "sample string 10", "SubZoneArName": "sample string 11", "SubZoneEnName": "sample string 12", "Latitude": 1.1, "Longitude": 1.1, "LandMark": "sample string 13" }, "CustomerDetails": { "CustomerName": "sample string 1", "phoneNumber": "sample string 2", "CustomerId": 3 }, "Isprepaid": true, "LastActionID": 1, "IsReturnDelivery": true, "WarehouseId": 3, "WarehouseAddress": "sample string 4", "WarehouseName": "sample string 5", "WarehouseLatitude": 1.1, "WarehouseLongitude": 1.1, "IsRejected": true, "VerficationId": 1, "VerficationEnName": "sample string 7", "VerficationArName": "sample string 8", "ServiceSubCategoryId": 1, "ServiceSubCategoryEnName": "sample string 9", "ServiceSubCategoryArName": "sample string 10", "PaymentMethodId": 1, "PaymentMethod": "sample string 11", "IsPaid": true, "IsVerify": true, "PackageID": 14, "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 15", "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 16", "COD": "sample string 17", "NormaOrderStatusId": 1, "PhoneNumber": "sample string 18", "FirstMileLatitude": 19.1, "FirstMileLongitude": 20.1, "LastMileLatitude": 21.1, "LastMileLongitude": 22.1, "ReferenceNumber": "sample string 23", "HasPOD": true, "PaymentTypeId": 25 }, "CoreValue": "sample string 1", "IsErrorState": true, "ErrorDescription": "sample string 3", "ErrorMetadata": {} }
application/xml, text/xml
Sample:
<DescriptiveResponseOfPackageDetailsDeliveryDTOs_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 15</d2p1:Barcode> <d2p1:COD>sample string 17</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>19.1</d2p1:FirstMileLatitude> <d2p1:FirstMileLongitude>20.1</d2p1:FirstMileLongitude> <d2p1:HasPOD>true</d2p1:HasPOD> <d2p1:LastActionID i:nil="true" /> <d2p1:LastMileLatitude>21.1</d2p1:LastMileLatitude> <d2p1:LastMileLongitude>22.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 16</d2p1:PackageDescription> <d2p1:PackageID>14</d2p1:PackageID> <d2p1:PaymentTypeId>25</d2p1:PaymentTypeId> <d2p1:PhoneNumber>sample string 18</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 23</d2p1:ReferenceNumber> <d2p1:CustomerDetails> <d2p1:CustomerId>3</d2p1:CustomerId> <d2p1:CustomerName>sample string 1</d2p1:CustomerName> <d2p1:phoneNumber>sample string 2</d2p1:phoneNumber> </d2p1:CustomerDetails> <d2p1:DeliveryAddress> <d2p1:AddressCategoryArb>sample string 5</d2p1:AddressCategoryArb> <d2p1:AddressCategoryEng>sample string 4</d2p1:AddressCategoryEng> <d2p1:AddressId>1</d2p1:AddressId> <d2p1:Apartment>sample string 3</d2p1:Apartment> <d2p1:BuildingNo>sample string 1</d2p1:BuildingNo> <d2p1:CityNameAr>sample string 6</d2p1:CityNameAr> <d2p1:CityNameEn>sample string 7</d2p1:CityNameEn> <d2p1:LandMark>sample string 13</d2p1:LandMark> <d2p1:Latitude>1.1</d2p1:Latitude> <d2p1:Longitude>1.1</d2p1:Longitude> <d2p1:Street>sample string 2</d2p1:Street> <d2p1:SubZoneArName>sample string 11</d2p1:SubZoneArName> <d2p1:SubZoneEnName>sample string 12</d2p1:SubZoneEnName> <d2p1:ZoneNameAr>sample string 8</d2p1:ZoneNameAr> <d2p1:ZoneNameEn>sample string 9</d2p1:ZoneNameEn> <d2p1:floor>sample string 10</d2p1:floor> </d2p1:DeliveryAddress> <d2p1:IsPaid>true</d2p1:IsPaid> <d2p1:IsRejected>true</d2p1:IsRejected> <d2p1:IsReturnDelivery>true</d2p1:IsReturnDelivery> <d2p1:IsVerify>true</d2p1:IsVerify> <d2p1:Isprepaid>true</d2p1:Isprepaid> <d2p1:LastActionID>1</d2p1:LastActionID> <d2p1:PackageAddress> <d2p1:AddressCategoryArb>sample string 5</d2p1:AddressCategoryArb> <d2p1:AddressCategoryEng>sample string 4</d2p1:AddressCategoryEng> <d2p1:AddressId>1</d2p1:AddressId> <d2p1:Apartment>sample string 3</d2p1:Apartment> <d2p1:BuildingNo>sample string 1</d2p1:BuildingNo> <d2p1:CityNameAr>sample string 6</d2p1:CityNameAr> <d2p1:CityNameEn>sample string 7</d2p1:CityNameEn> <d2p1:LandMark>sample string 13</d2p1:LandMark> <d2p1:Latitude>1.1</d2p1:Latitude> <d2p1:Longitude>1.1</d2p1:Longitude> <d2p1:Street>sample string 2</d2p1:Street> <d2p1:SubZoneArName>sample string 11</d2p1:SubZoneArName> <d2p1:SubZoneEnName>sample string 12</d2p1:SubZoneEnName> <d2p1:ZoneNameAr>sample string 8</d2p1:ZoneNameAr> <d2p1:ZoneNameEn>sample string 9</d2p1:ZoneNameEn> <d2p1:floor>sample string 10</d2p1:floor> </d2p1:PackageAddress> <d2p1:PaymentMethod>sample string 11</d2p1:PaymentMethod> <d2p1:PaymentMethodId>1</d2p1:PaymentMethodId> <d2p1:ServiceSubCategoryArName>sample string 10</d2p1:ServiceSubCategoryArName> <d2p1:ServiceSubCategoryEnName>sample string 9</d2p1:ServiceSubCategoryEnName> <d2p1:ServiceSubCategoryId>1</d2p1:ServiceSubCategoryId> <d2p1:VerficationArName>sample string 8</d2p1:VerficationArName> <d2p1:VerficationEnName>sample string 7</d2p1:VerficationEnName> <d2p1:VerficationId>1</d2p1:VerficationId> <d2p1:WarehouseAddress>sample string 4</d2p1:WarehouseAddress> <d2p1:WarehouseId>3</d2p1:WarehouseId> <d2p1:WarehouseLatitude>1.1</d2p1:WarehouseLatitude> <d2p1:WarehouseLongitude>1.1</d2p1:WarehouseLongitude> <d2p1:WarehouseName>sample string 5</d2p1:WarehouseName> </Value> </DescriptiveResponseOfPackageDetailsDeliveryDTOs_SlrnjSQ>