POST api/ContractTypes
Create a contract type
Request Information
URI Parameters
None.
Body Parameters
ContractType| Name | Description | Type | Additional information |
|---|---|---|---|
| Cashflow | string |
None. |
|
| EntityLayoutId | integer |
None. |
|
| CompanyId | integer |
None. |
|
| Name | string |
None. |
|
| LastModified | date |
None. |
|
| Created | date |
None. |
|
| Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Cashflow": "sample string 1",
"EntityLayoutId": 2,
"CompanyId": 3,
"Name": "sample string 4",
"LastModified": "2025-12-08T14:23:59.9954804+00:00",
"Created": "2025-12-08T14:23:59.9954804+00:00",
"Id": 7
}
application/xml, text/xml
Sample:
<ContractType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ControlKeeper.ApiModel"> <Id>7</Id> <Created>2025-12-08T14:23:59.9954804+00:00</Created> <LastModified>2025-12-08T14:23:59.9954804+00:00</LastModified> <Name>sample string 4</Name> <CompanyId>3</CompanyId> <Cashflow>sample string 1</Cashflow> <EntityLayoutId>2</EntityLayoutId> </ContractType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>
