POST api/ProviderService/AddUserTask

Add User Task

Request Information

URI Parameters

None.

Body Parameters

TaskInfo
NameDescriptionTypeAdditional information
Task_Id

globally unique identifier

None.

Name

string

None.

Description

string

None.

Due_Date

date

None.

Patient_Id

globally unique identifier

None.

Provider_Id

globally unique identifier

None.

Is_Read

boolean

None.

Is_Completed

boolean

None.

Is_Urgent

boolean

None.

Created_Date

date

None.

Created_By

string

None.

ClinicalTaskTypeID

integer

None.

Practice_Id

globally unique identifier

None.

Entity_Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Task_Id": "1536ac28-5f9e-47fc-b10d-6b1888a930e7",
  "Name": "sample string 2",
  "Description": "sample string 3",
  "Due_Date": "2026-03-22T22:09:39.7007162+00:00",
  "Patient_Id": "f4d9c4cd-e4b6-4b02-9708-e53d52435f4b",
  "Provider_Id": "2262dfeb-b25b-47dd-83da-9f44efd46a0d",
  "Is_Read": true,
  "Is_Completed": true,
  "Is_Urgent": true,
  "Created_Date": "2026-03-22T22:09:39.7007162+00:00",
  "Created_By": "sample string 4",
  "ClinicalTaskTypeID": 1,
  "Practice_Id": "9dff9214-f5b1-4da2-ae79-157670946953",
  "Entity_Name": "sample string 5"
}

application/xml, text/xml

Sample:
<TaskInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRContexts.Common.ViewModels">
  <ClinicalTaskTypeID>1</ClinicalTaskTypeID>
  <Created_By>sample string 4</Created_By>
  <Created_Date>2026-03-22T22:09:39.7007162+00:00</Created_Date>
  <Description>sample string 3</Description>
  <Due_Date>2026-03-22T22:09:39.7007162+00:00</Due_Date>
  <Entity_Name>sample string 5</Entity_Name>
  <Is_Completed>true</Is_Completed>
  <Is_Read>true</Is_Read>
  <Is_Urgent>true</Is_Urgent>
  <Name>sample string 2</Name>
  <Patient_Id>f4d9c4cd-e4b6-4b02-9708-e53d52435f4b</Patient_Id>
  <Practice_Id>9dff9214-f5b1-4da2-ae79-157670946953</Practice_Id>
  <Provider_Id>2262dfeb-b25b-47dd-83da-9f44efd46a0d</Provider_Id>
  <Task_Id>1536ac28-5f9e-47fc-b10d-6b1888a930e7</Task_Id>
</TaskInfo>

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 'TaskInfo'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>