POST api/Category

Request Information

URI Parameters

None.

Body Parameters

CategoryInfo
NameDescriptionTypeAdditional information
CategoryInfo_Id

globally unique identifier

None.

Category_Name

string

None.

Category_Code

integer

None.

_Category_Code

CategoryCode

None.

PrimaryKey

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryInfo_Id": "a81a0bc9-4abb-4457-a38f-ac01e26d1db7",
  "Category_Name": "sample string 2",
  "Category_Code": 3,
  "_Category_Code": 0,
  "PrimaryKey": "a0d0b114-772e-4397-a136-bda1d4c4ed5b"
}

application/xml, text/xml

Sample:
<CategoryInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/brmcph.entity">
  <PrimaryKey>a0d0b114-772e-4397-a136-bda1d4c4ed5b</PrimaryKey>
  <CategoryInfo_Id>a81a0bc9-4abb-4457-a38f-ac01e26d1db7</CategoryInfo_Id>
  <Category_Code>3</Category_Code>
  <Category_Name>sample string 2</Category_Name>
  <_Category_Code>Income</_Category_Code>
</CategoryInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.