POST api/Recovery
Request Information
URI Parameters
None.
Body Parameters
Recovery| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId | string |
None. |
|
| RecoveryId | integer |
None. |
|
| unixDate | integer |
None. |
|
| Dated | date |
None. |
|
| UploadedOn | date |
None. |
|
| CreatedOn | date |
None. |
|
| TotalAmount | decimal number |
None. |
|
| DiscountType | integer |
None. |
|
| DiscountValue | decimal number |
None. |
|
| DiscountAmount | decimal number |
None. |
|
| NetAmount | decimal number |
None. |
|
| AppRecoveryLines | Collection of RecoveryLine |
None. |
|
| LineCount | integer |
None. |
|
| CurrentRegionId | integer |
None. |
|
| CurrentRegion | City |
None. |
|
| CurrentVehicleId | integer |
None. |
|
| Vehicle | City |
None. |
|
| Uploaded | boolean |
None. |
|
| UserCode | integer |
None. |
|
| UserName | string |
None. |
|
| AndroidDeviceName | string |
None. |
|
| UploadCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyId": "sample string 1",
"RecoveryId": 2,
"unixDate": 3,
"Dated": "2026-03-06T19:28:05.4311893+05:00",
"UploadedOn": "2026-03-06T19:28:05.4311893+05:00",
"CreatedOn": "2026-03-06T19:28:05.4311893+05:00",
"TotalAmount": 6.0,
"DiscountType": 7,
"DiscountValue": 8.0,
"DiscountAmount": 9.0,
"NetAmount": 10.0,
"AppRecoveryLines": [
{
"RecoveryLineId": 1,
"LineSrId": 2,
"RecoveryId": 3,
"PartyCode": 4,
"PartyIdPk": 5,
"PartyName": "sample string 2",
"Party": {
"AccountNo": 1,
"Title": "sample string 2",
"CityCode": 3,
"OpeningBalance": 4.0,
"OpeningBalanceDate": "2026-03-06T19:28:05.4311893+05:00",
"StopPayment": 6.1
},
"Amount": 7.0,
"Remarks": "sample string 8"
},
{
"RecoveryLineId": 1,
"LineSrId": 2,
"RecoveryId": 3,
"PartyCode": 4,
"PartyIdPk": 5,
"PartyName": "sample string 2",
"Party": {
"AccountNo": 1,
"Title": "sample string 2",
"CityCode": 3,
"OpeningBalance": 4.0,
"OpeningBalanceDate": "2026-03-06T19:28:05.4311893+05:00",
"StopPayment": 6.1
},
"Amount": 7.0,
"Remarks": "sample string 8"
}
],
"LineCount": 2,
"CurrentRegionId": 11,
"CurrentRegion": {
"CityCode": 1,
"Name": "sample string 2"
},
"CurrentVehicleId": 12,
"Vehicle": {
"CityCode": 1,
"Name": "sample string 2"
},
"Uploaded": true,
"UserCode": 14,
"UserName": "sample string 15",
"AndroidDeviceName": "sample string 16",
"UploadCount": 17
}
text/html
Sample:
{"CompanyId":"sample string 1","RecoveryId":2,"unixDate":3,"Dated":"2026-03-06T19:28:05.4311893+05:00","UploadedOn":"2026-03-06T19:28:05.4311893+05:00","CreatedOn":"2026-03-06T19:28:05.4311893+05:00","TotalAmount":6.0,"DiscountType":7,"DiscountValue":8.0,"DiscountAmount":9.0,"NetAmount":10.0,"AppRecoveryLines":[{"RecoveryLineId":1,"LineSrId":2,"RecoveryId":3,"PartyCode":4,"PartyIdPk":5,"PartyName":"sample string 2","Party":{"AccountNo":1,"Title":"sample string 2","CityCode":3,"OpeningBalance":4.0,"OpeningBalanceDate":"2026-03-06T19:28:05.4311893+05:00","StopPayment":6.1},"Amount":7.0,"Remarks":"sample string 8"},{"RecoveryLineId":1,"LineSrId":2,"RecoveryId":3,"PartyCode":4,"PartyIdPk":5,"PartyName":"sample string 2","Party":{"AccountNo":1,"Title":"sample string 2","CityCode":3,"OpeningBalance":4.0,"OpeningBalanceDate":"2026-03-06T19:28:05.4311893+05:00","StopPayment":6.1},"Amount":7.0,"Remarks":"sample string 8"}],"LineCount":2,"CurrentRegionId":11,"CurrentRegion":{"CityCode":1,"Name":"sample string 2"},"CurrentVehicleId":12,"Vehicle":{"CityCode":1,"Name":"sample string 2"},"Uploaded":true,"UserCode":14,"UserName":"sample string 15","AndroidDeviceName":"sample string 16","UploadCount":17}
application/xml, text/xml
Sample:
<Recovery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveStock.WebApi.Models">
<AndroidDeviceName>sample string 16</AndroidDeviceName>
<AppRecoveryLines>
<RecoveryLine>
<Amount>7</Amount>
<LineSrId>2</LineSrId>
<Party>
<AccountNo>1</AccountNo>
<CityCode>3</CityCode>
<OpeningBalance>4</OpeningBalance>
<OpeningBalanceDate>2026-03-06T19:28:05.4311893+05:00</OpeningBalanceDate>
<StopPayment>6.1</StopPayment>
<Title>sample string 2</Title>
</Party>
<PartyCode>4</PartyCode>
<PartyIdPk>5</PartyIdPk>
<PartyName>sample string 2</PartyName>
<RecoveryId>3</RecoveryId>
<RecoveryLineId>1</RecoveryLineId>
<Remarks>sample string 8</Remarks>
</RecoveryLine>
<RecoveryLine>
<Amount>7</Amount>
<LineSrId>2</LineSrId>
<Party>
<AccountNo>1</AccountNo>
<CityCode>3</CityCode>
<OpeningBalance>4</OpeningBalance>
<OpeningBalanceDate>2026-03-06T19:28:05.4311893+05:00</OpeningBalanceDate>
<StopPayment>6.1</StopPayment>
<Title>sample string 2</Title>
</Party>
<PartyCode>4</PartyCode>
<PartyIdPk>5</PartyIdPk>
<PartyName>sample string 2</PartyName>
<RecoveryId>3</RecoveryId>
<RecoveryLineId>1</RecoveryLineId>
<Remarks>sample string 8</Remarks>
</RecoveryLine>
</AppRecoveryLines>
<CompanyId>sample string 1</CompanyId>
<CreatedOn>2026-03-06T19:28:05.4311893+05:00</CreatedOn>
<CurrentRegion>
<CityCode>1</CityCode>
<Name>sample string 2</Name>
</CurrentRegion>
<CurrentRegionId>11</CurrentRegionId>
<CurrentVehicleId>12</CurrentVehicleId>
<Dated>2026-03-06T19:28:05.4311893+05:00</Dated>
<DiscountAmount>9</DiscountAmount>
<DiscountType>7</DiscountType>
<DiscountValue>8</DiscountValue>
<NetAmount>10</NetAmount>
<RecoveryId>2</RecoveryId>
<TotalAmount>6</TotalAmount>
<UploadCount>17</UploadCount>
<Uploaded>true</Uploaded>
<UploadedOn>2026-03-06T19:28:05.4311893+05:00</UploadedOn>
<UserCode>14</UserCode>
<UserName>sample string 15</UserName>
<Vehicle>
<CityCode>1</CityCode>
<Name>sample string 2</Name>
</Vehicle>
<unixDate>3</unixDate>
</Recovery>
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. |