GET api/Request/{ID}?UserType={UserType}&UserID={UserID}&Lang={Lang}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ID | integer |
Required |
|
UserType | integer |
Required |
|
UserID | integer |
Required |
|
Lang | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
RequestModelName | Description | Type | Additional information |
---|---|---|---|
Lang | integer |
None. |
|
ID | integer |
None. |
|
RequesterID | integer |
None. |
|
RequestType | integer |
None. |
|
BillOfLanding | string |
None. |
|
BookingNumber | string |
None. |
|
CustomerID | integer |
None. |
|
ContainerTypeText | string |
None. |
|
CustomerName | string |
None. |
|
ContainerType | integer |
None. |
|
Quantity | integer |
None. |
|
IsGensetNeeded | boolean |
None. |
|
GensetVendor | integer |
None. |
|
GensetVendorText | string |
None. |
|
GeneratorLeftOn | integer |
None. |
|
GeneratorLeftOnText | string |
None. |
|
GeneratorLeftOff | integer |
None. |
|
GeneratorLeftOffText | string |
None. |
|
NumberOfTrucks | integer |
None. |
|
ReleaseDate | date |
None. |
|
Releaseport | integer |
None. |
|
ReleaseportText | string |
None. |
|
isTrucksDivided | boolean |
None. |
|
ArrivingDate | date |
None. |
|
TargetedLocation | string |
None. |
|
StuffingDate | date |
None. |
|
StuffingLocation | string |
None. |
|
ContainerRequestedText | string |
None. |
|
ShippinLineID | integer |
None. |
|
ShippinLineText | string |
None. |
|
EmptiesLeftOff | string |
None. |
|
LoadingPortID | integer |
None. |
|
LoadingPortText | string |
None. |
|
LoadingWeightID | integer |
None. |
|
LoadingWeightText | string |
None. |
|
BookingAttachmentExtension | string |
None. |
|
BookingAttachment | string |
None. |
|
IsSpecialRequest | boolean |
None. |
|
SpecialRequestType | integer |
None. |
|
SpecialRequestTypeText | string |
None. |
|
SpecialRequestNotes | string |
None. |
|
EstimatedCost | decimal number |
None. |
|
TotalCountOfRows | integer |
None. |
|
RequestStatus | integer |
None. |
|
RequestStatusText | string |
None. |
|
Cost | decimal number |
None. |
|
Paid | boolean |
None. |
|
Trucks | Collection of RequestTrucksModel |
None. |
|
AcceptStatus | integer |
None. |
|
AcceptStatusText | string |
None. |
|
Bills | Collection of RequestAttachmentModel |
None. |
|
DeliveryStatus | integer |
None. |
|
DeliveryDate | date |
None. |
|
TaskID | integer |
None. |
|
TaskExecutionDate | date |
None. |
|
ArriveDate | date |
None. |
|
HaveContainerPics | integer |
None. |
|
DeservedAmount | decimal number |
None. |
|
GoodsTypeID | integer |
None. |
|
GoodsTypeName | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Lang": 1, "ID": 1, "RequesterID": 1, "RequestType": 2, "BillOfLanding": "sample string 3", "BookingNumber": "sample string 4", "CustomerID": 5, "ContainerTypeText": "sample string 6", "CustomerName": "sample string 7", "ContainerType": 1, "Quantity": 1, "IsGensetNeeded": true, "GensetVendor": 1, "GensetVendorText": "sample string 8", "GeneratorLeftOn": 1, "GeneratorLeftOnText": "sample string 9", "GeneratorLeftOff": 1, "GeneratorLeftOffText": "sample string 10", "NumberOfTrucks": 1, "ReleaseDate": "2024-12-23T15:39:58.050775+02:00", "Releaseport": 1, "ReleaseportText": "sample string 11", "isTrucksDivided": true, "ArrivingDate": "2024-12-23T15:39:58.050775+02:00", "TargetedLocation": "sample string 12", "StuffingDate": "2024-12-23T15:39:58.050775+02:00", "StuffingLocation": "sample string 13", "ContainerRequestedText": "sample string 14", "ShippinLineID": 1, "ShippinLineText": "sample string 15", "EmptiesLeftOff": "sample string 16", "LoadingPortID": 1, "LoadingPortText": "sample string 17", "LoadingWeightID": 1, "LoadingWeightText": "sample string 18", "BookingAttachmentExtension": "sample string 19", "BookingAttachment": "sample string 20", "IsSpecialRequest": true, "SpecialRequestType": 1, "SpecialRequestTypeText": "sample string 21", "SpecialRequestNotes": "sample string 22", "EstimatedCost": 1.1, "TotalCountOfRows": 23, "RequestStatus": 1, "RequestStatusText": "sample string 24", "Cost": 1.1, "Paid": true, "Trucks": [ { "TruckDate": "2024-12-23T15:39:58.050775+02:00", "NumberOfTrucks": 1 }, { "TruckDate": "2024-12-23T15:39:58.050775+02:00", "NumberOfTrucks": 1 } ], "AcceptStatus": 1, "AcceptStatusText": "sample string 25", "Bills": [ { "ID": 1, "AttachFile": "sample string 1", "AttachFileExtension": "sample string 2", "Notes": "sample string 3" }, { "ID": 1, "AttachFile": "sample string 1", "AttachFileExtension": "sample string 2", "Notes": "sample string 3" } ], "DeliveryStatus": 1, "DeliveryDate": "2024-12-23T15:39:58.050775+02:00", "TaskID": 1, "TaskExecutionDate": "2024-12-23T15:39:58.050775+02:00", "ArriveDate": "2024-12-23T15:39:58.050775+02:00", "HaveContainerPics": 1, "DeservedAmount": 1.0, "GoodsTypeID": 1, "GoodsTypeName": "sample string 26" }
application/xml, text/xml
Sample:
<RequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models"> <AcceptStatus>1</AcceptStatus> <AcceptStatusText>sample string 25</AcceptStatusText> <ArriveDate>2024-12-23T15:39:58.050775+02:00</ArriveDate> <ArrivingDate>2024-12-23T15:39:58.050775+02:00</ArrivingDate> <BillOfLanding>sample string 3</BillOfLanding> <Bills> <RequestAttachmentModel> <AttachFile>sample string 1</AttachFile> <AttachFileExtension>sample string 2</AttachFileExtension> <ID>1</ID> <Notes>sample string 3</Notes> </RequestAttachmentModel> <RequestAttachmentModel> <AttachFile>sample string 1</AttachFile> <AttachFileExtension>sample string 2</AttachFileExtension> <ID>1</ID> <Notes>sample string 3</Notes> </RequestAttachmentModel> </Bills> <BookingAttachment>sample string 20</BookingAttachment> <BookingAttachmentExtension>sample string 19</BookingAttachmentExtension> <BookingNumber>sample string 4</BookingNumber> <ContainerRequestedText>sample string 14</ContainerRequestedText> <ContainerType>1</ContainerType> <ContainerTypeText>sample string 6</ContainerTypeText> <Cost>1.1</Cost> <CustomerID>5</CustomerID> <CustomerName>sample string 7</CustomerName> <DeliveryDate>2024-12-23T15:39:58.050775+02:00</DeliveryDate> <DeliveryStatus>1</DeliveryStatus> <DeservedAmount>1</DeservedAmount> <EmptiesLeftOff>sample string 16</EmptiesLeftOff> <EstimatedCost>1.1</EstimatedCost> <GeneratorLeftOff>1</GeneratorLeftOff> <GeneratorLeftOffText>sample string 10</GeneratorLeftOffText> <GeneratorLeftOn>1</GeneratorLeftOn> <GeneratorLeftOnText>sample string 9</GeneratorLeftOnText> <GensetVendor>1</GensetVendor> <GensetVendorText>sample string 8</GensetVendorText> <GoodsTypeID>1</GoodsTypeID> <GoodsTypeName>sample string 26</GoodsTypeName> <HaveContainerPics>1</HaveContainerPics> <ID>1</ID> <IsGensetNeeded>true</IsGensetNeeded> <IsSpecialRequest>true</IsSpecialRequest> <Lang>1</Lang> <LoadingPortID>1</LoadingPortID> <LoadingPortText>sample string 17</LoadingPortText> <LoadingWeightID>1</LoadingWeightID> <LoadingWeightText>sample string 18</LoadingWeightText> <NumberOfTrucks>1</NumberOfTrucks> <Paid>true</Paid> <Quantity>1</Quantity> <ReleaseDate>2024-12-23T15:39:58.050775+02:00</ReleaseDate> <Releaseport>1</Releaseport> <ReleaseportText>sample string 11</ReleaseportText> <RequestStatus>1</RequestStatus> <RequestStatusText>sample string 24</RequestStatusText> <RequestType>2</RequestType> <RequesterID>1</RequesterID> <ShippinLineID>1</ShippinLineID> <ShippinLineText>sample string 15</ShippinLineText> <SpecialRequestNotes>sample string 22</SpecialRequestNotes> <SpecialRequestType>1</SpecialRequestType> <SpecialRequestTypeText>sample string 21</SpecialRequestTypeText> <StuffingDate>2024-12-23T15:39:58.050775+02:00</StuffingDate> <StuffingLocation>sample string 13</StuffingLocation> <TargetedLocation>sample string 12</TargetedLocation> <TaskExecutionDate>2024-12-23T15:39:58.050775+02:00</TaskExecutionDate> <TaskID>1</TaskID> <TotalCountOfRows>23</TotalCountOfRows> <Trucks xmlns:d2p1="http://schemas.datacontract.org/2004/07/DAL.Models"> <d2p1:RequestTrucksModel> <d2p1:NumberOfTrucks>1</d2p1:NumberOfTrucks> <d2p1:TruckDate>2024-12-23T15:39:58.050775+02:00</d2p1:TruckDate> </d2p1:RequestTrucksModel> <d2p1:RequestTrucksModel> <d2p1:NumberOfTrucks>1</d2p1:NumberOfTrucks> <d2p1:TruckDate>2024-12-23T15:39:58.050775+02:00</d2p1:TruckDate> </d2p1:RequestTrucksModel> </Trucks> <isTrucksDivided>true</isTrucksDivided> </RequestModel>