POST api/Projects/{projectId}/tmsr/SupervisorsList/Query
Get Supervisors List.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| projectId |
Subcontract identifier. |
integer |
Required |
Body Parameters
TmsrSupervisorListFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| TmsrNumber | string |
None. |
|
| Username | string |
None. |
|
| FullName | string |
None. |
|
| string |
None. |
||
| Page | Page |
None. |
|
| Orders | Collection of Order |
None. |
Request Formats
application/json, text/json
Sample:
{
"tmsrNumber": "sample string 1",
"username": "sample string 2",
"fullName": "sample string 3",
"email": "sample string 4",
"page": {
"number": 1,
"size": 2,
"skip": 0
},
"orders": [
{
"name": "sample string 1",
"descending": true
},
{
"name": "sample string 1",
"descending": true
}
]
}
text/html
Sample:
{"tmsrNumber":"sample string 1","username":"sample string 2","fullName":"sample string 3","email":"sample string 4","page":{"number":1,"size":2,"skip":0},"orders":[{"name":"sample string 1","descending":true},{"name":"sample string 1","descending":true}]}
application/xml, text/xml
Sample:
<TmsrSupervisorListFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.TimeAndMaterialSrAgg">
<Orders xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.SortAndPage.Entities">
<Order>
<Descending>true</Descending>
<Name>sample string 1</Name>
</Order>
<Order>
<Descending>true</Descending>
<Name>sample string 1</Name>
</Order>
</Orders>
<Page xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.SortAndPage.Entities">
<Number>1</Number>
<Size>2</Size>
</Page>
<Email>sample string 4</Email>
<FullName>sample string 3</FullName>
<TmsrNumber>sample string 1</TmsrNumber>
<Username>sample string 2</Username>
</TmsrSupervisorListFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfIPagedListOfUserSupervisorTmsrAssignmentsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | IPagedListOfUserSupervisorTmsrAssignmentsDto |
None. |
|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Errors | Collection of CustomError |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.