POST api/Dados/ContractTypeCrud

Request Information

URI Parameters

None.

Body Parameters

cEntityContractType
NameDescriptionTypeAdditional information
id

integer

None.

contract_name

string

None.

contract_description

string

None.

contract_hasduration

integer

None.

contract_duration

integer

None.

_SendCredentials

string

None.

_Action

string

None.

hasError

boolean

None.

hasErrorMessage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "contract_name": "sample string 2",
  "contract_description": "sample string 3",
  "contract_hasduration": 4,
  "contract_duration": 5,
  "_SendCredentials": "sample string 6",
  "_Action": "sample string 7",
  "hasError": true,
  "hasErrorMessage": "sample string 9"
}

application/xml, text/xml

Sample:
<cTables.cEntityContractType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wsgest">
  <_Action>sample string 7</_Action>
  <_SendCredentials>sample string 6</_SendCredentials>
  <contract_description>sample string 3</contract_description>
  <contract_duration>5</contract_duration>
  <contract_hasduration>4</contract_hasduration>
  <contract_name>sample string 2</contract_name>
  <hasError>true</hasError>
  <hasErrorMessage>sample string 9</hasErrorMessage>
  <id>1</id>
</cTables.cEntityContractType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

cEntityContractType
NameDescriptionTypeAdditional information
id

integer

None.

contract_name

string

None.

contract_description

string

None.

contract_hasduration

integer

None.

contract_duration

integer

None.

_SendCredentials

string

None.

_Action

string

None.

hasError

boolean

None.

hasErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "contract_name": "sample string 2",
  "contract_description": "sample string 3",
  "contract_hasduration": 4,
  "contract_duration": 5,
  "_SendCredentials": "sample string 6",
  "_Action": "sample string 7",
  "hasError": true,
  "hasErrorMessage": "sample string 9"
}

application/xml, text/xml

Sample:
<cTables.cEntityContractType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wsgest">
  <_Action>sample string 7</_Action>
  <_SendCredentials>sample string 6</_SendCredentials>
  <contract_description>sample string 3</contract_description>
  <contract_duration>5</contract_duration>
  <contract_hasduration>4</contract_hasduration>
  <contract_name>sample string 2</contract_name>
  <hasError>true</hasError>
  <hasErrorMessage>sample string 9</hasErrorMessage>
  <id>1</id>
</cTables.cEntityContractType>