POST api/tenders
Save or Update a tender
Request Information
URI Parameters
None.
Body Parameters
Tender object to be saved
Tenders| Name | Description | Type | Additional information |
|---|---|---|---|
| Tender |
The unique tender code |
string |
None. |
| Description |
Description of the tender |
string |
None. |
| GLCode |
GL Code to be used |
string |
None. |
| AccountingCategoryID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"tender": "sample string 1",
"description": "sample string 2",
"glCode": "sample string 3",
"accountingCategoryID": 4
}
application/xml, text/xml
Sample:
<Tenders xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Sales"> <AccountingCategoryID>4</AccountingCategoryID> <Description>sample string 2</Description> <GLCode>sample string 3</GLCode> <Tender>sample string 1</Tender> </Tenders>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.