GET api/Dados/GetAllContractType?_Credentials={_Credentials}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
_Credentials | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of cEntityContractTypeName | Description | Type | Additional 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" }, { "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:
<ArrayOfcTables.cEntityContractType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wsgest"> <cTables.cEntityContractType> <_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> <cTables.cEntityContractType> <_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> </ArrayOfcTables.cEntityContractType>