POST api/cards

Save a card

Request Information

URI Parameters

None.

Body Parameters

Card
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

GLCode

string

None.

CardGroupID

integer

None.

AccountingCategoryID

integer

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,
  "cardGroupName": "sample string 5"
}

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 5</CardGroupName>
  <GLCode>sample string 3</GLCode>
  <ID>1</ID>
  <Name>sample string 2</Name>
</Card>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.