POST api/v1/PurchaseSave
Request Information
URI Parameters
None.
Body Parameters
PurchaseSaveInput| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| FinyrID | integer |
None. |
|
| CompID | integer |
None. |
|
| UserID | integer |
None. |
|
| Mode | string |
None. |
|
| VendorID | integer |
None. |
|
| OrderLocID | integer |
None. |
|
| DeliLocID | integer |
None. |
|
| PaymentModeID | integer |
None. |
|
| PaymentTerms | string |
None. |
|
| DeliInstruction | string |
None. |
|
| PurchaseNo | string |
None. |
|
| PurchaseDate | date |
None. |
|
| SupplierInvNo | string |
None. |
|
| SupplierInvDate | date |
None. |
|
| POID | integer |
None. |
|
| DispThru | string |
None. |
|
| TC | string |
None. |
|
| json | string |
None. |
|
| eWayBillNo | string |
None. |
|
| Carriage | decimal number |
None. |
|
| CarriageGSTPer | decimal number |
None. |
|
| CarriageGSTAmt | decimal number |
None. |
|
| OtherCharge | decimal number |
None. |
|
| Roff | decimal number |
None. |
|
| Narration | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"FinyrID": 2,
"CompID": 3,
"UserID": 4,
"Mode": "sample string 5",
"VendorID": 6,
"OrderLocID": 7,
"DeliLocID": 8,
"PaymentModeID": 9,
"PaymentTerms": "sample string 10",
"DeliInstruction": "sample string 11",
"PurchaseNo": "sample string 12",
"PurchaseDate": "2025-12-15T02:49:49.8224136+05:30",
"SupplierInvNo": "sample string 13",
"SupplierInvDate": "2025-12-15T02:49:49.8229768+05:30",
"POID": 14,
"DispThru": "sample string 15",
"TC": "sample string 16",
"json": "sample string 17",
"eWayBillNo": "sample string 18",
"Carriage": 19.0,
"CarriageGSTPer": 20.0,
"CarriageGSTAmt": 21.0,
"OtherCharge": 22.0,
"Roff": 23.0,
"Narration": "sample string 24"
}
application/xml, text/xml
Sample:
<PurchaseSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <Carriage>19</Carriage> <CarriageGSTAmt>21</CarriageGSTAmt> <CarriageGSTPer>20</CarriageGSTPer> <CompID>3</CompID> <DeliInstruction>sample string 11</DeliInstruction> <DeliLocID>8</DeliLocID> <DispThru>sample string 15</DispThru> <FinyrID>2</FinyrID> <ID>1</ID> <Mode>sample string 5</Mode> <Narration>sample string 24</Narration> <OrderLocID>7</OrderLocID> <OtherCharge>22</OtherCharge> <POID>14</POID> <PaymentModeID>9</PaymentModeID> <PaymentTerms>sample string 10</PaymentTerms> <PurchaseDate>2025-12-15T02:49:49.8224136+05:30</PurchaseDate> <PurchaseNo>sample string 12</PurchaseNo> <Roff>23</Roff> <SupplierInvDate>2025-12-15T02:49:49.8229768+05:30</SupplierInvDate> <SupplierInvNo>sample string 13</SupplierInvNo> <TC>sample string 16</TC> <UserID>4</UserID> <VendorID>6</VendorID> <eWayBillNo>sample string 18</eWayBillNo> <json>sample string 17</json> </PurchaseSaveInput>
application/x-www-form-urlencoded
Sample:
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. |