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": "ef9a1111-fba7-4261-8f74-d568d435d6a8",
  "Name": "sample string 2",
  "Description": "sample string 3",
  "Due_Date": "2025-12-14T08:51:23.9930084+00:00",
  "Patient_Id": "73302739-163e-48ef-8a11-e4c5980f2a61",
  "Provider_Id": "9c9df9ad-9309-4113-b3e3-b612d973f8e5",
  "Is_Read": true,
  "Is_Completed": true,
  "Is_Urgent": true,
  "Created_Date": "2025-12-14T08:51:23.9930084+00:00",
  "Created_By": "sample string 4",
  "ClinicalTaskTypeID": 1,
  "Practice_Id": "0ec690ba-9b3d-47cd-96cb-5b401c049f36",
  "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>2025-12-14T08:51:23.9930084+00:00</Created_Date>
  <Description>sample string 3</Description>
  <Due_Date>2025-12-14T08:51:23.9930084+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>73302739-163e-48ef-8a11-e4c5980f2a61</Patient_Id>
  <Practice_Id>0ec690ba-9b3d-47cd-96cb-5b401c049f36</Practice_Id>
  <Provider_Id>9c9df9ad-9309-4113-b3e3-b612d973f8e5</Provider_Id>
  <Task_Id>ef9a1111-fba7-4261-8f74-d568d435d6a8</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>