POST api/Sale/InsertRecoveryCustomerWise?isOpen={isOpen}&userId={userId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
isOpen | boolean |
Default value is False |
|
userId | integer |
Default value is 0 |
Body Parameters
RecoveryName | Description | Type | Additional information |
---|---|---|---|
RecoveryID | integer |
None. |
|
RecoveryDate | date |
None. |
|
IsWithInvoice | boolean |
None. |
|
SalesmanID | string |
None. |
|
OfficeID | integer |
None. |
|
CashAccountNo | string |
None. |
|
UserID | integer |
None. |
|
IsFinalize | boolean |
None. |
|
IsPosted | boolean |
None. |
|
SalesmanName | string |
None. |
|
TownID | integer |
None. |
|
SectorID | integer |
None. |
|
GroupID | integer |
None. |
|
RegionID | integer |
None. |
|
AreaID | integer |
None. |
|
Town | string |
None. |
|
Sector | string |
None. |
|
Region | string |
None. |
|
Area | string |
None. |
|
PartyGroup | string |
None. |
|
City | string |
None. |
|
IDOffice | integer |
None. |
|
TotalRecovered | decimal number |
None. |
|
TotalDiscount | decimal number |
None. |
|
TotalToken | decimal number |
None. |
|
TotalReceivables | decimal number |
None. |
|
TotalBalance | decimal number |
None. |
|
TotalLimit | decimal number |
None. |
|
TotalDifference | decimal number |
None. |
|
ListBody | Collection of RecoveryBody |
None. |
Request Formats
application/json, text/json
Sample:
{ "RecoveryID": 1, "RecoveryDate": "2025-07-04T19:25:02.6957486+05:00", "IsWithInvoice": true, "SalesmanID": "sample string 4", "OfficeID": 5, "CashAccountNo": "sample string 6", "UserID": 7, "IsFinalize": true, "IsPosted": true, "SalesmanName": "sample string 10", "TownID": 11, "SectorID": 12, "GroupID": 13, "RegionID": 14, "AreaID": 15, "Town": "sample string 16", "Sector": "sample string 17", "Region": "sample string 18", "Area": "sample string 19", "PartyGroup": "sample string 20", "City": "sample string 21", "IDOffice": 22, "TotalRecovered": 23.0, "TotalDiscount": 24.0, "TotalToken": 25.0, "TotalReceivables": 26.0, "TotalBalance": 27.0, "TotalLimit": 28.0, "TotalDifference": 29.0, "ListBody": [ { "SerialNo": 1, "RecoveryID": 2, "SaleID": 3, "CustomerID": "sample string 4", "Amount": 5.0, "Discount": 6.0, "IsDeleted": true, "Narration": "sample string 8", "Token": 9.0, "IsFinalized": true, "PartyName": "sample string 10", "PartyPhone": "sample string 11", "SectorTown": "sample string 12", "PartyAddress": "sample string 13", "RegionArea": "sample string 14", "Receiveables": 15.0, "Balance": 16.0, "RecordNo": 17, "DebitLimit": 18.0, "Difference": 19.0 }, { "SerialNo": 1, "RecoveryID": 2, "SaleID": 3, "CustomerID": "sample string 4", "Amount": 5.0, "Discount": 6.0, "IsDeleted": true, "Narration": "sample string 8", "Token": 9.0, "IsFinalized": true, "PartyName": "sample string 10", "PartyPhone": "sample string 11", "SectorTown": "sample string 12", "PartyAddress": "sample string 13", "RegionArea": "sample string 14", "Receiveables": 15.0, "Balance": 16.0, "RecordNo": 17, "DebitLimit": 18.0, "Difference": 19.0 } ] }
application/xml, text/xml
Sample:
<Recovery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ultrabiz_ERP_API.Models"> <Area>sample string 19</Area> <AreaID>15</AreaID> <CashAccountNo>sample string 6</CashAccountNo> <City>sample string 21</City> <GroupID>13</GroupID> <IDOffice>22</IDOffice> <IsFinalize>true</IsFinalize> <IsPosted>true</IsPosted> <IsWithInvoice>true</IsWithInvoice> <ListBody> <RecoveryBody> <Amount>5</Amount> <Balance>16</Balance> <CustomerID>sample string 4</CustomerID> <DebitLimit>18</DebitLimit> <Difference>19</Difference> <Discount>6</Discount> <IsDeleted>true</IsDeleted> <IsFinalized>true</IsFinalized> <Narration>sample string 8</Narration> <PartyAddress>sample string 13</PartyAddress> <PartyName>sample string 10</PartyName> <PartyPhone>sample string 11</PartyPhone> <Receiveables>15</Receiveables> <RecordNo>17</RecordNo> <RecoveryID>2</RecoveryID> <RegionArea>sample string 14</RegionArea> <SaleID>3</SaleID> <SectorTown>sample string 12</SectorTown> <SerialNo>1</SerialNo> <Token>9</Token> </RecoveryBody> <RecoveryBody> <Amount>5</Amount> <Balance>16</Balance> <CustomerID>sample string 4</CustomerID> <DebitLimit>18</DebitLimit> <Difference>19</Difference> <Discount>6</Discount> <IsDeleted>true</IsDeleted> <IsFinalized>true</IsFinalized> <Narration>sample string 8</Narration> <PartyAddress>sample string 13</PartyAddress> <PartyName>sample string 10</PartyName> <PartyPhone>sample string 11</PartyPhone> <Receiveables>15</Receiveables> <RecordNo>17</RecordNo> <RecoveryID>2</RecoveryID> <RegionArea>sample string 14</RegionArea> <SaleID>3</SaleID> <SectorTown>sample string 12</SectorTown> <SerialNo>1</SerialNo> <Token>9</Token> </RecoveryBody> </ListBody> <OfficeID>5</OfficeID> <PartyGroup>sample string 20</PartyGroup> <RecoveryDate>2025-07-04T19:25:02.6957486+05:00</RecoveryDate> <RecoveryID>1</RecoveryID> <Region>sample string 18</Region> <RegionID>14</RegionID> <SalesmanID>sample string 4</SalesmanID> <SalesmanName>sample string 10</SalesmanName> <Sector>sample string 17</Sector> <SectorID>12</SectorID> <TotalBalance>27</TotalBalance> <TotalDifference>29</TotalDifference> <TotalDiscount>24</TotalDiscount> <TotalLimit>28</TotalLimit> <TotalReceivables>26</TotalReceivables> <TotalRecovered>23</TotalRecovered> <TotalToken>25</TotalToken> <Town>sample string 16</Town> <TownID>11</TownID> <UserID>7</UserID> </Recovery>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |