POST api/CustomerRequest/Post?apiKey={apiKey}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey | string |
Required |
Body Parameters
CustomerRequestName | Description | Type | Additional information |
---|---|---|---|
Identity | Identity |
None. |
|
Customer | ContactInfo |
None. |
|
VehicleNo | string |
None. |
|
AgreementNo | string |
None. |
|
InvoiceNo | string |
None. |
|
CustomerRequestBookingOn | date |
None. |
|
CurrentKms | integer |
None. |
|
CustomerRemark | string |
None. |
|
CustomerRequestStatus | CustomerRequestStatus |
None. |
|
AppointmentOn | date |
None. |
|
AppointmentRemark | string |
None. |
|
CustomerRequestType | CustomerRequestType |
None. |
|
CustomerRequestRefNo | string |
None. |
|
BookingSource | BookingSource |
None. |
Request Formats
application/json, text/json
Sample:
{ "Identity": { "Id": "ae29539a-6bad-4f1a-b1d0-a3bb525c47ce", "Code": "sample string 2" }, "Customer": { "CustomerType": 0, "TitleType": 0, "Name": "sample string 1", "Address": "sample string 2", "Email": "sample string 3", "ContactNo": "sample string 4", "CountryState": { "StateCode": "sample string 2", "StateName": "sample string 3", "CountryCode": "sample string 4", "CountryName": "sample string 5", "NationalityCode": "sample string 6", "NationalityName": "sample string 7" }, "Id": "c9180ef3-f889-403f-ad3d-a96f9063c5e9", "Code": "sample string 9" }, "VehicleNo": "sample string 1", "AgreementNo": "sample string 2", "InvoiceNo": "sample string 3", "CustomerRequestBookingOn": "2024-09-12T21:04:57.5639585+04:00", "CurrentKms": 5, "CustomerRemark": "sample string 6", "CustomerRequestStatus": 0, "AppointmentOn": "2024-09-12T21:04:57.5639585+04:00", "AppointmentRemark": "sample string 8", "CustomerRequestType": { "CustomerRequestTypeID": "f8263207-f5ce-4498-8910-d657d02f1684", "Name": "sample string 2", "Description": "sample string 3", "IsAgreementNoRequired": true, "IsVehicleNoRequired": true, "IsInvoiceNoRequired": true, "IsCurrentKmRequired": true, "IsAppointmentDateRequired": true }, "CustomerRequestRefNo": "sample string 10", "BookingSource": 0 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultName | Description | Type | Additional information |
---|---|---|---|
IsValid | boolean |
None. |
|
Message | string |
None. |
|
Code | string |
None. |
|
ID | globally unique identifier |
None. |
|
Errors | Collection of string |
None. |
|
ErrorCodes | Collection of ErrorCode |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsValid": true, "Message": "sample string 2", "Code": "sample string 3", "ID": "e72ea10a-57eb-42de-9c78-2d3b78313ff8", "Errors": [ "sample string 1", "sample string 2" ], "ErrorCodes": [ 1, 1 ] }
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity"> <Code>sample string 3</Code> <ErrorCodes> <ErrorCode>Success</ErrorCode> <ErrorCode>Success</ErrorCode> </ErrorCodes> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Errors> <ID>e72ea10a-57eb-42de-9c78-2d3b78313ff8</ID> <IsValid>true</IsValid> <Message>sample string 2</Message> </Result>