POST api/cashflowcategories/create

Request Information

URI Parameters

None.

Body Parameters

CashFlowCategoryData
NameDescriptionTypeAdditional information
Code

string

None.

Description

string

None.

Type

string

None.

Hidden

boolean

None.

CodeAsEnum

CashFlowCategoryCodeEnum

None.

TypeAsEnum

CashFlowTypeEnum

None.

TypeToDisplay

string

None.

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": "VENTA",
  "Description": "sample string 2",
  "Type": "INITIAL",
  "Hidden": true,
  "CodeAsEnum": 0,
  "TypeAsEnum": 0,
  "TypeToDisplay": "--",
  "ID": 1
}

text/xml

Sample:
<CashFlowCategoryData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
  <ID>1</ID>
  <Code>VENTA</Code>
  <CodeAsEnum>VENTA</CodeAsEnum>
  <Description>sample string 2</Description>
  <Hidden>true</Hidden>
  <Type>INITIAL</Type>
  <TypeAsEnum>INITIAL</TypeAsEnum>
</CashFlowCategoryData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CashFlowCategoryData
NameDescriptionTypeAdditional information
Code

string

None.

Description

string

None.

Type

string

None.

Hidden

boolean

None.

CodeAsEnum

CashFlowCategoryCodeEnum

None.

TypeAsEnum

CashFlowTypeEnum

None.

TypeToDisplay

string

None.

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "VENTA",
  "Description": "sample string 2",
  "Type": "INITIAL",
  "Hidden": true,
  "CodeAsEnum": 0,
  "TypeAsEnum": 0,
  "TypeToDisplay": "--",
  "ID": 1
}

text/xml

Sample:
<CashFlowCategoryData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
  <ID>1</ID>
  <Code>VENTA</Code>
  <CodeAsEnum>VENTA</CodeAsEnum>
  <Description>sample string 2</Description>
  <Hidden>true</Hidden>
  <Type>INITIAL</Type>
  <TypeAsEnum>INITIAL</TypeAsEnum>
</CashFlowCategoryData>