GET v1/contracts
Gets a list of all contracts for the authenticated user
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
List of contracts
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
[
{
"AccountID": "sample string 1",
"AccountName": "sample string 2",
"ContractID": "sample string 3",
"Name": "sample string 4",
"Description": "sample string 5",
"StartDate": "2025-12-15T21:04:58.2029754+00:00",
"EndDate": "2025-12-15T21:04:58.2029754+00:00",
"Value": 8.1,
"CustomFields": [
{
"FieldName": "sample string 1",
"Type": "sample string 2",
"StringValue": "sample string 3",
"DoubleValue": 4.1,
"DatetimeValue": "2025-12-15T21:04:58.2029754+00:00"
},
{
"FieldName": "sample string 1",
"Type": "sample string 2",
"StringValue": "sample string 3",
"DoubleValue": 4.1,
"DatetimeValue": "2025-12-15T21:04:58.2029754+00:00"
}
],
"DateModified": "2025-12-15T21:04:58.2029754+00:00",
"DateCreated": "2025-12-15T21:04:58.2029754+00:00"
},
{
"AccountID": "sample string 1",
"AccountName": "sample string 2",
"ContractID": "sample string 3",
"Name": "sample string 4",
"Description": "sample string 5",
"StartDate": "2025-12-15T21:04:58.2029754+00:00",
"EndDate": "2025-12-15T21:04:58.2029754+00:00",
"Value": 8.1,
"CustomFields": [
{
"FieldName": "sample string 1",
"Type": "sample string 2",
"StringValue": "sample string 3",
"DoubleValue": 4.1,
"DatetimeValue": "2025-12-15T21:04:58.2029754+00:00"
},
{
"FieldName": "sample string 1",
"Type": "sample string 2",
"StringValue": "sample string 3",
"DoubleValue": 4.1,
"DatetimeValue": "2025-12-15T21:04:58.2029754+00:00"
}
],
"DateModified": "2025-12-15T21:04:58.2029754+00:00",
"DateCreated": "2025-12-15T21:04:58.2029754+00:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfContractModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KAPTA.Domain.ViewModel.v1">
<ContractModel>
<AccountID>sample string 1</AccountID>
<AccountName>sample string 2</AccountName>
<ContractID>sample string 3</ContractID>
<CustomFields>
<UDFFieldModel>
<DatetimeValue>2025-12-15T21:04:58.2029754+00:00</DatetimeValue>
<DoubleValue>4.1</DoubleValue>
<FieldName>sample string 1</FieldName>
<StringValue>sample string 3</StringValue>
<Type>sample string 2</Type>
</UDFFieldModel>
<UDFFieldModel>
<DatetimeValue>2025-12-15T21:04:58.2029754+00:00</DatetimeValue>
<DoubleValue>4.1</DoubleValue>
<FieldName>sample string 1</FieldName>
<StringValue>sample string 3</StringValue>
<Type>sample string 2</Type>
</UDFFieldModel>
</CustomFields>
<DateCreated>2025-12-15T21:04:58.2029754+00:00</DateCreated>
<DateModified>2025-12-15T21:04:58.2029754+00:00</DateModified>
<Description>sample string 5</Description>
<EndDate>2025-12-15T21:04:58.2029754+00:00</EndDate>
<Name>sample string 4</Name>
<StartDate>2025-12-15T21:04:58.2029754+00:00</StartDate>
<Value>8.1</Value>
</ContractModel>
<ContractModel>
<AccountID>sample string 1</AccountID>
<AccountName>sample string 2</AccountName>
<ContractID>sample string 3</ContractID>
<CustomFields>
<UDFFieldModel>
<DatetimeValue>2025-12-15T21:04:58.2029754+00:00</DatetimeValue>
<DoubleValue>4.1</DoubleValue>
<FieldName>sample string 1</FieldName>
<StringValue>sample string 3</StringValue>
<Type>sample string 2</Type>
</UDFFieldModel>
<UDFFieldModel>
<DatetimeValue>2025-12-15T21:04:58.2029754+00:00</DatetimeValue>
<DoubleValue>4.1</DoubleValue>
<FieldName>sample string 1</FieldName>
<StringValue>sample string 3</StringValue>
<Type>sample string 2</Type>
</UDFFieldModel>
</CustomFields>
<DateCreated>2025-12-15T21:04:58.2029754+00:00</DateCreated>
<DateModified>2025-12-15T21:04:58.2029754+00:00</DateModified>
<Description>sample string 5</Description>
<EndDate>2025-12-15T21:04:58.2029754+00:00</EndDate>
<Name>sample string 4</Name>
<StartDate>2025-12-15T21:04:58.2029754+00:00</StartDate>
<Value>8.1</Value>
</ContractModel>
</ArrayOfContractModel>