POST api/OmsReporting/customer-service/productivity
Request Information
URI Parameters
None.
Body Parameters
| Name | Description | Type | Additional Information |
|---|---|---|---|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| SiteId | integer |
None. |
|
| SearchByInvoiceDate | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"StartDate": "2025-12-20T13:04:47.2803002+00:00",
"EndDate": "2025-12-20T13:04:47.2803002+00:00",
"SiteId": 1,
"SearchByInvoiceDate": true
}
application/xml, text/xml
Sample:
<SiteStartEndDateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.OMS.Domain.Models.API"> <EndDate>2025-12-20T13:04:47.2803002+00:00</EndDate> <SearchByInvoiceDate>true</SearchByInvoiceDate> <SiteId>1</SiteId> <StartDate>2025-12-20T13:04:47.2803002+00:00</StartDate> </SiteStartEndDateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CustomerServiceProductivityModelResponse
| Name | Description | Type | Additional Information |
|---|---|---|---|
| ResponseCode | APIResponseCodes |
None. |
|
| Message | string |
None. |
|
| CorrelationId | string |
None. |
|
| Model | CustomerServiceProductivityModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 0,
"Message": "sample string 1",
"CorrelationId": "sample string 2",
"Model": {
"CustomerServiceProductivityData": null,
"ReportStartDate": "sample string 1",
"ReportEndDate": "sample string 2",
"Sites": null,
"CurrentSiteID": 3,
"CurrentSite": null
}
}
application/xml, text/xml
Sample:
<CustomerServiceProductivityModelResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.OMS.Domain.Models.API">
<CorrelationId>sample string 2</CorrelationId>
<Message>sample string 1</Message>
<Model xmlns:d2p1="http://schemas.datacontract.org/2004/07/DECK.OMS.Domain.Models">
<d2p1:CurrentSite i:nil="true" />
<d2p1:CurrentSiteID>3</d2p1:CurrentSiteID>
<d2p1:CustomerServiceProductivityData i:nil="true" />
<d2p1:ReportEndDate>sample string 2</d2p1:ReportEndDate>
<d2p1:ReportStartDate>sample string 1</d2p1:ReportStartDate>
<d2p1:Sites xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
</Model>
<ResponseCode>Success</ResponseCode>
</CustomerServiceProductivityModelResponse>