POST api/contract/export
Request Information
URI Parameters
None.
Body Parameters
ContractSearch| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Ids | Collection of globally unique identifier |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CompanyName | string |
None. |
|
| StartDateRangeStart | date |
None. |
|
| StartDateRangeEnd | date |
None. |
|
| EndDateRangeStart | date |
None. |
|
| EndDateRangeEnd | date |
None. |
|
| Detail | ContractDetail |
None. |
|
| Audit | Audit |
None. |
|
| SortColumn | string |
None. |
|
| SortDirection | string |
None. |
|
| Page | integer |
None. |
|
| PageSize | integer |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"id": "57ff65a6-73a3-4f7d-a936-e1d3481486f3",
"ids": [
"40836a45-bd23-4446-bddc-373b35df6c4c",
"a8e61030-e992-42df-9913-8a24eb93f430"
],
"companyId": "692d0fe3-f248-41ae-a0de-02a942949252",
"companyName": "sample string 1",
"startDateRangeStart": "2026-02-04T02:38:25.9592576+00:00",
"startDateRangeEnd": "2026-02-04T02:38:25.9592576+00:00",
"endDateRangeStart": "2026-02-04T02:38:25.9592576+00:00",
"endDateRangeEnd": "2026-02-04T02:38:25.9592576+00:00",
"detail": {
"contractNumber": "sample string 1",
"customerPoNumber": "sample string 2",
"resellerPoNumber": "sample string 3",
"mfg": "sample string 4",
"startDate": "2026-02-04T02:38:25.9592576+00:00",
"endDate": "2026-02-04T02:38:25.9592576+00:00",
"isTamContract": true,
"isCovered": false
},
"audit": {
"createdOn": "2026-02-04T02:38:25.9592576+00:00",
"modifiedOn": "2026-02-04T02:38:25.9592576+00:00",
"createdBy": "sample string 3",
"createdByFullName": "sample string 4",
"modifiedBy": "sample string 5",
"modifiedByFullName": "sample string 6",
"modifiedByInitials": "SS6",
"createdByInitials": "SS4",
"isDeleted": true
},
"sortColumn": "sample string 2",
"sortDirection": "sample string 3",
"page": 4,
"pageSize": 5
}
application/xml, text/xml
Sample:
<ContractSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAM.Data.Contract.Models">
<Page>4</Page>
<PageSize>5</PageSize>
<SortColumn>sample string 2</SortColumn>
<SortDirection>sample string 3</SortDirection>
<Audit xmlns:d2p1="http://schemas.datacontract.org/2004/07/TAM.Data.Model.General.Poco">
<d2p1:CreatedBy>sample string 3</d2p1:CreatedBy>
<d2p1:CreatedByFullName>sample string 4</d2p1:CreatedByFullName>
<d2p1:CreatedOn>2026-02-04T02:38:25.9592576+00:00</d2p1:CreatedOn>
<d2p1:IsDeleted>true</d2p1:IsDeleted>
<d2p1:ModifiedBy>sample string 5</d2p1:ModifiedBy>
<d2p1:ModifiedByFullName>sample string 6</d2p1:ModifiedByFullName>
<d2p1:ModifiedOn>2026-02-04T02:38:25.9592576+00:00</d2p1:ModifiedOn>
</Audit>
<CompanyId>692d0fe3-f248-41ae-a0de-02a942949252</CompanyId>
<CompanyName>sample string 1</CompanyName>
<Detail xmlns:d2p1="http://schemas.datacontract.org/2004/07/TAM.Data.Model.Poco">
<d2p1:ContractNumber>sample string 1</d2p1:ContractNumber>
<d2p1:CustomerPoNumber>sample string 2</d2p1:CustomerPoNumber>
<d2p1:EndDate>2026-02-04T02:38:25.9592576+00:00</d2p1:EndDate>
<d2p1:IsTamContract>true</d2p1:IsTamContract>
<d2p1:Mfg>sample string 4</d2p1:Mfg>
<d2p1:ResellerPoNumber>sample string 3</d2p1:ResellerPoNumber>
<d2p1:StartDate>2026-02-04T02:38:25.9592576+00:00</d2p1:StartDate>
</Detail>
<EndDateRangeEnd>2026-02-04T02:38:25.9592576+00:00</EndDateRangeEnd>
<EndDateRangeStart>2026-02-04T02:38:25.9592576+00:00</EndDateRangeStart>
<Id>57ff65a6-73a3-4f7d-a936-e1d3481486f3</Id>
<Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>40836a45-bd23-4446-bddc-373b35df6c4c</d2p1:guid>
<d2p1:guid>a8e61030-e992-42df-9913-8a24eb93f430</d2p1:guid>
</Ids>
<StartDateRangeEnd>2026-02-04T02:38:25.9592576+00:00</StartDateRangeEnd>
<StartDateRangeStart>2026-02-04T02:38:25.9592576+00:00</StartDateRangeStart>
</ContractSearch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |