POST api/v{version}/repair/Fetch
Retrieves a RepairDTO with the order information.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version | string |
None. |
Body Parameters
FetchRequestDTOName | Description | Type | Additional information |
---|---|---|---|
RepairStatus |
Accepted values: REQUEST (Request), DISP (Dispatch), FUP (FollowUp), COMP (Complete), CANX (Cancel) |
Collection of string |
None. |
RepairDateStart |
Required for statuses COMP, CANX or if RepairDateEnd was provided. |
date |
None. |
RepairDateEnd |
Required for statuses COMP or CANX. |
date |
None. |
CustomerPO | string |
None. |
|
CustomerAuth | string |
None. |
|
IncludeComments |
False by default |
boolean |
None. |
Limit |
Up to 100 (max) orders by default |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "repairStatus": [ "sample string 1", "sample string 2" ], "repairDateStart": "2025-03-29T02:31:22.9916713+00:00", "repairDateEnd": "2025-03-29T02:31:22.9916713+00:00", "customerPO": "sample string 1", "customerAuth": "sample string 2", "includeComments": true, "limit": 4 }
application/xml, text/xml
Sample:
<FetchRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/prj.WebApi.Models.v1"> <CustomerAuth>sample string 2</CustomerAuth> <CustomerPO>sample string 1</CustomerPO> <IncludeComments>true</IncludeComments> <Limit>4</Limit> <RepairDateEnd>2025-03-29T02:31:22.9916713+00:00</RepairDateEnd> <RepairDateStart>2025-03-29T02:31:22.9916713+00:00</RepairDateStart> <RepairStatus xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </RepairStatus> </FetchRequestDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
List of RepairDTOs
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.