POST api/CarReplacement/CarReplacementBook
Request Information
URI Parameters
None.
Body Parameters
CarReplacementBook| Name | Description | Type | Additional information |
|---|---|---|---|
| RCB_Id | integer |
None. |
|
| ReplacementCarAgencyId | integer |
None. |
|
| RequestId | integer |
None. |
|
| CarReplacementVehicleId | integer |
None. |
|
| Initial_Reading | string |
None. |
|
| AssignDate | date |
None. |
|
| ApprovedDurationDays | integer |
None. |
|
| Discount | decimal number |
None. |
|
| TotalCharges | decimal number |
None. |
|
| Remarks | string |
None. |
|
| MakeName | string |
None. |
|
| ModelName | string |
None. |
|
| Year | integer |
None. |
|
| ColourName | string |
None. |
|
| CarCategory | string |
None. |
|
| ChargesPerDay | decimal number |
None. |
|
| DeliverDate | date |
None. |
|
| DeliverTo | string |
None. |
|
| ReceivedDate | date |
None. |
|
| ReceivedFrom | string |
None. |
|
| SignedDocument | string |
None. |
|
| SignedDocumentBeforeDeliver | string |
None. |
|
| TenantId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| IsDeleted | boolean |
None. |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"RCB_Id": 1,
"ReplacementCarAgencyId": 2,
"RequestId": 3,
"CarReplacementVehicleId": 4,
"Initial_Reading": "sample string 5",
"AssignDate": "2025-12-13T10:33:48.7267127+05:00",
"ApprovedDurationDays": 7,
"Discount": 8.0,
"TotalCharges": 9.0,
"Remarks": "sample string 10",
"MakeName": "sample string 11",
"ModelName": "sample string 12",
"Year": 13,
"ColourName": "sample string 14",
"CarCategory": "sample string 15",
"ChargesPerDay": 16.0,
"DeliverDate": "2025-12-13T10:33:48.7267127+05:00",
"DeliverTo": "sample string 18",
"ReceivedDate": "2025-12-13T10:33:48.7267127+05:00",
"ReceivedFrom": "sample string 20",
"SignedDocument": "sample string 21",
"SignedDocumentBeforeDeliver": "sample string 22",
"TenantId": 23,
"CreatedBy": 24,
"CreatedDate": "2025-12-13T10:33:48.7267127+05:00",
"UpdatedBy": 26,
"UpdatedDate": "2025-12-13T10:33:48.7267127+05:00",
"IsDeleted": true,
"IsActive": true
}
text/xml
Sample:
<CarReplacementBook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MotoClaims.Entities.CarReplacement"> <ApprovedDurationDays>7</ApprovedDurationDays> <AssignDate>2025-12-13T10:33:48.7267127+05:00</AssignDate> <CarCategory>sample string 15</CarCategory> <CarReplacementVehicleId>4</CarReplacementVehicleId> <ChargesPerDay>16</ChargesPerDay> <ColourName>sample string 14</ColourName> <CreatedBy>24</CreatedBy> <CreatedDate>2025-12-13T10:33:48.7267127+05:00</CreatedDate> <DeliverDate>2025-12-13T10:33:48.7267127+05:00</DeliverDate> <DeliverTo>sample string 18</DeliverTo> <Discount>8</Discount> <Initial_Reading>sample string 5</Initial_Reading> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <MakeName>sample string 11</MakeName> <ModelName>sample string 12</ModelName> <RCB_Id>1</RCB_Id> <ReceivedDate>2025-12-13T10:33:48.7267127+05:00</ReceivedDate> <ReceivedFrom>sample string 20</ReceivedFrom> <Remarks>sample string 10</Remarks> <ReplacementCarAgencyId>2</ReplacementCarAgencyId> <RequestId>3</RequestId> <SignedDocument>sample string 21</SignedDocument> <SignedDocumentBeforeDeliver>sample string 22</SignedDocumentBeforeDeliver> <TenantId>23</TenantId> <TotalCharges>9</TotalCharges> <UpdatedBy>26</UpdatedBy> <UpdatedDate>2025-12-13T10:33:48.7267127+05:00</UpdatedDate> <Year>13</Year> </CarReplacementBook>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |