POST api/Types

Request Information

URI Parameters

None.

Body Parameters

Type
NameDescriptionTypeAdditional information
TypesID

integer

None.

TypeCode

string

String length: inclusive between 0 and 50

Code

string

String length: inclusive between 0 and 50

Description

string

String length: inclusive between 0 and 50

IndexID

integer

None.

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TypesID": 1,
  "TypeCode": "sample string 2",
  "Code": "sample string 3",
  "Description": "sample string 4",
  "IndexID": 1,
  "ID": 5
}

application/xml, text/xml

Sample:
<Type xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric">
  <Code>sample string 3</Code>
  <Description>sample string 4</Description>
  <ID>5</ID>
  <IndexID>1</IndexID>
  <TypeCode>sample string 2</TypeCode>
  <TypesID>1</TypesID>
</Type>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Type
NameDescriptionTypeAdditional information
TypesID

integer

None.

TypeCode

string

String length: inclusive between 0 and 50

Code

string

String length: inclusive between 0 and 50

Description

string

String length: inclusive between 0 and 50

IndexID

integer

None.

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "TypesID": 1,
  "TypeCode": "sample string 2",
  "Code": "sample string 3",
  "Description": "sample string 4",
  "IndexID": 1,
  "ID": 5
}

application/xml, text/xml

Sample:
<Type xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric">
  <Code>sample string 3</Code>
  <Description>sample string 4</Description>
  <ID>5</ID>
  <IndexID>1</IndexID>
  <TypeCode>sample string 2</TypeCode>
  <TypesID>1</TypesID>
</Type>