POST api/cards
Save a card
Request Information
URI Parameters
None.
Body Parameters
Card| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| GLCode | string |
None. |
|
| CardGroupID | integer |
None. |
|
| AccountingCategoryID | integer |
None. |
|
| IsProvider | boolean |
None. |
|
| CardGroupName | string |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"glCode": "sample string 3",
"cardGroupID": 1,
"accountingCategoryID": 4,
"isProvider": true,
"cardGroupName": "sample string 6"
}
application/xml, text/xml
Sample:
<Card xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Sales"> <AccountingCategoryID>4</AccountingCategoryID> <CardGroupID>1</CardGroupID> <CardGroupName>sample string 6</CardGroupName> <GLCode>sample string 3</GLCode> <ID>1</ID> <IsProvider>true</IsProvider> <Name>sample string 2</Name> </Card>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.