POST api/TablesManagement/ADUExpensesIncomeClause?pType={pType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pType

string

Required

Body Parameters

ExpensesIncomeClause
NameDescriptionTypeAdditional information
code

integer

None.

name

string

Required

String length: inclusive between 0 and 30

type

string

Required

Matching regular expression pattern: ^[123]{1}$

String length: inclusive between 0 and 1

active

string

Required

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

Request Formats

application/json, text/json

Sample:
{
  "code": 1,
  "name": "sample string 2",
  "type": "sample string 3",
  "active": "sample string 4"
}

application/xml, text/xml

Sample:
<ExpensesIncomeClause xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <active>sample string 4</active>
  <code>1</code>
  <name>sample string 2</name>
  <type>sample string 3</type>
</ExpensesIncomeClause>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

ExpensesIncomeClause
NameDescriptionTypeAdditional information
code

integer

None.

name

string

Required

String length: inclusive between 0 and 30

type

string

Required

Matching regular expression pattern: ^[123]{1}$

String length: inclusive between 0 and 1

active

string

Required

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "name": "sample string 2",
  "type": "sample string 3",
  "active": "sample string 4"
}

application/xml, text/xml

Sample:
<ExpensesIncomeClause xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <active>sample string 4</active>
  <code>1</code>
  <name>sample string 2</name>
  <type>sample string 3</type>
</ExpensesIncomeClause>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.