POST api/CallTasks/GetTaskByType

Request Information

URI Parameters

None.

Body Parameters

TaskRequestModel
NameDescriptionTypeAdditional information
ProviderTypes

Collection of string

None.

StatusTypes

Collection of string

None.

PatientId

string

None.

AssignedUserId

string

None.

ProviderCode

string

None.

GroupName

string

None.

Filter

string

None.

PageNumber

string

None.

PageSize

string

None.

Sort

string

None.

SortOrder

string

None.

Request Formats

application/json, text/json

Sample:
{
  "providerTypes": [
    "sample string 1",
    "sample string 2"
  ],
  "statusTypes": [
    "sample string 1",
    "sample string 2"
  ],
  "patientId": "sample string 1",
  "assignedUserId": "sample string 2",
  "providerCode": "sample string 3",
  "groupName": "sample string 4",
  "filter": "sample string 5",
  "pageNumber": "sample string 6",
  "pageSize": "sample string 7",
  "sort": "sample string 8",
  "sortOrder": "sample string 9"
}

application/xml, text/xml

Sample:
<TaskRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AuthAPI.Models">
  <AssignedUserId>sample string 2</AssignedUserId>
  <Filter>sample string 5</Filter>
  <GroupName>sample string 4</GroupName>
  <PageNumber>sample string 6</PageNumber>
  <PageSize>sample string 7</PageSize>
  <PatientId>sample string 1</PatientId>
  <ProviderCode>sample string 3</ProviderCode>
  <ProviderTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ProviderTypes>
  <Sort>sample string 8</Sort>
  <SortOrder>sample string 9</SortOrder>
  <StatusTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </StatusTypes>
</TaskRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TaskRequestModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.