POST api/v1/PurchaseSave
Request Information
URI Parameters
None.
Body Parameters
PurchaseSaveInput| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| FinyrID | 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,
"UserID": 3,
"Mode": "sample string 4",
"VendorID": 5,
"OrderLocID": 6,
"DeliLocID": 7,
"PaymentModeID": 8,
"PaymentTerms": "sample string 9",
"DeliInstruction": "sample string 10",
"PurchaseNo": "sample string 11",
"PurchaseDate": "2025-12-06T09:24:01.2992609+05:30",
"SupplierInvNo": "sample string 12",
"SupplierInvDate": "2025-12-06T09:24:01.2992609+05:30",
"POID": 13,
"DispThru": "sample string 14",
"TC": "sample string 15",
"json": "sample string 16",
"eWayBillNo": "sample string 17",
"Carriage": 18.0,
"CarriageGSTPer": 19.0,
"CarriageGSTAmt": 20.0,
"OtherCharge": 21.0,
"Roff": 22.0,
"Narration": "sample string 23"
}
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>18</Carriage> <CarriageGSTAmt>20</CarriageGSTAmt> <CarriageGSTPer>19</CarriageGSTPer> <DeliInstruction>sample string 10</DeliInstruction> <DeliLocID>7</DeliLocID> <DispThru>sample string 14</DispThru> <FinyrID>2</FinyrID> <ID>1</ID> <Mode>sample string 4</Mode> <Narration>sample string 23</Narration> <OrderLocID>6</OrderLocID> <OtherCharge>21</OtherCharge> <POID>13</POID> <PaymentModeID>8</PaymentModeID> <PaymentTerms>sample string 9</PaymentTerms> <PurchaseDate>2025-12-06T09:24:01.2992609+05:30</PurchaseDate> <PurchaseNo>sample string 11</PurchaseNo> <Roff>22</Roff> <SupplierInvDate>2025-12-06T09:24:01.2992609+05:30</SupplierInvDate> <SupplierInvNo>sample string 12</SupplierInvNo> <TC>sample string 15</TC> <UserID>3</UserID> <VendorID>5</VendorID> <eWayBillNo>sample string 17</eWayBillNo> <json>sample string 16</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. |