Request Information

URI Parameters

System.Collections.ObjectModel.Collection`1[Connections.API.Areas.HelpPage.ModelDescriptions.ParameterDescription] IList

None.

Body Parameters (Commitment)

Required to create a new commitment.

System.Collections.ObjectModel.Collection`1[Connections.API.Areas.HelpPage.ModelDescriptions.ParameterDescription] IList
ID integer Required on Update

ID of the given commitment.

AncestorID globally unique identifier Required on Create

Ancestor ID (organization, department, or individual) for the given commitment.

Name string Required

Name of the given commitment.

Completed boolean Required

Completed status of the given commitment.

DueDate date Required

Due date of the given commitment.

PeriodID integer Required

ID of the period for the given commitment.

Measure1 string Required

First measure for the given commitment.

Measure1Completed boolean Required

Completed status of the first measure for the given commmitment.

Measure2 string Required

Second measure for the given commitment.

Measure2Completed boolean Required

Completed status of the second measure for the given commmitment.

Measure3 string Required

Third measure for the given commitment.

Measure3Completed boolean Required

Completed status of the third measure for the given commmitment.

Measure4 string Required

Fourth measure for the given commitment.

Measure4Completed boolean Required

Completed status of the fourth measure for the given commmitment.

Measure5 string Required

Fifth measure for the given commitment.

Measure5Completed boolean Required

Completed status of the fifth measure for the given commmitment.

MeasuresCompleted integer ReadOnly

Total number of measures completed for the given commitment.

MeasuresTotal integer ReadOnly

Total number of measures for the given commitment.

AncestorType integer ReadOnly

Ancestor type (organization, department, or individual) for the given commitment.

SiteID globally unique identifier ReadOnly

ID of the site for the given commitment.

Request Formats

application/xml, text/xml

Sample
<Commitment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://col4.com/api/v4">
  <ID>1</ID>
  <AncestorID>254da461-5338-4f21-a830-ab6e49275b6a</AncestorID>
  <Name>sample string 3</Name>
  <Completed>true</Completed>
  <DueDate>2021-11-03T18:47:46.8513585+00:00</DueDate>
  <PeriodID>1</PeriodID>
  <Measure1>sample string 5</Measure1>
  <Measure1Completed>true</Measure1Completed>
  <Measure2>sample string 6</Measure2>
  <Measure2Completed>true</Measure2Completed>
  <Measure3>sample string 7</Measure3>
  <Measure3Completed>true</Measure3Completed>
  <Measure4>sample string 8</Measure4>
  <Measure4Completed>true</Measure4Completed>
  <Measure5>sample string 9</Measure5>
  <Measure5Completed>true</Measure5Completed>
</Commitment>

application/json, text/json

Sample
{
  "ID": 1,
  "AncestorID": "254da461-5338-4f21-a830-ab6e49275b6a",
  "Name": "sample string 3",
  "Completed": true,
  "DueDate": "2021-11-03T18:47:46.8513585+00:00",
  "PeriodID": 1,
  "Measure1": "sample string 5",
  "Measure1Completed": true,
  "Measure2": "sample string 6",
  "Measure2Completed": true,
  "Measure3": "sample string 7",
  "Measure3Completed": true,
  "Measure4": "sample string 8",
  "Measure4Completed": true,
  "Measure5": "sample string 9",
  "Measure5Completed": true
}

Response Information

Resource Description (Commitment)

System.Collections.ObjectModel.Collection`1[Connections.API.Areas.HelpPage.ModelDescriptions.ParameterDescription] IList
ID integer Required on Update

ID of the given commitment.

AncestorID globally unique identifier Required on Create

Ancestor ID (organization, department, or individual) for the given commitment.

Name string Required

Name of the given commitment.

Completed boolean Required

Completed status of the given commitment.

DueDate date Required

Due date of the given commitment.

PeriodID integer Required

ID of the period for the given commitment.

Measure1 string Required

First measure for the given commitment.

Measure1Completed boolean Required

Completed status of the first measure for the given commmitment.

Measure2 string Required

Second measure for the given commitment.

Measure2Completed boolean Required

Completed status of the second measure for the given commmitment.

Measure3 string Required

Third measure for the given commitment.

Measure3Completed boolean Required

Completed status of the third measure for the given commmitment.

Measure4 string Required

Fourth measure for the given commitment.

Measure4Completed boolean Required

Completed status of the fourth measure for the given commmitment.

Measure5 string Required

Fifth measure for the given commitment.

Measure5Completed boolean Required

Completed status of the fifth measure for the given commmitment.

MeasuresCompleted integer ReadOnly

Total number of measures completed for the given commitment.

MeasuresTotal integer ReadOnly

Total number of measures for the given commitment.

AncestorType integer ReadOnly

Ancestor type (organization, department, or individual) for the given commitment.

SiteID globally unique identifier ReadOnly

ID of the site for the given commitment.

Response Formats

application/xml, text/xml

Sample
<Commitment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://col4.com/api/v4">
  <ID>1</ID>
  <AncestorID>b48a0206-b9c1-4c30-afd3-b8a4940a0d1f</AncestorID>
  <Name>sample string 3</Name>
  <Completed>true</Completed>
  <DueDate>2021-11-03T18:47:46.8513585+00:00</DueDate>
  <PeriodID>1</PeriodID>
  <Measure1>sample string 5</Measure1>
  <Measure1Completed>true</Measure1Completed>
  <Measure2>sample string 6</Measure2>
  <Measure2Completed>true</Measure2Completed>
  <Measure3>sample string 7</Measure3>
  <Measure3Completed>true</Measure3Completed>
  <Measure4>sample string 8</Measure4>
  <Measure4Completed>true</Measure4Completed>
  <Measure5>sample string 9</Measure5>
  <Measure5Completed>true</Measure5Completed>
  <MeasuresCompleted>1</MeasuresCompleted>
  <MeasuresTotal>1</MeasuresTotal>
  <AncestorType>1</AncestorType>
  <SiteID>47a83c2b-057b-4ea5-8468-3560e8442517</SiteID>
</Commitment>

application/json, text/json

Sample
{
  "ID": 1,
  "AncestorID": "b48a0206-b9c1-4c30-afd3-b8a4940a0d1f",
  "Name": "sample string 3",
  "Completed": true,
  "DueDate": "2021-11-03T18:47:46.8513585+00:00",
  "PeriodID": 1,
  "Measure1": "sample string 5",
  "Measure1Completed": true,
  "Measure2": "sample string 6",
  "Measure2Completed": true,
  "Measure3": "sample string 7",
  "Measure3Completed": true,
  "Measure4": "sample string 8",
  "Measure4Completed": true,
  "Measure5": "sample string 9",
  "Measure5Completed": true,
  "MeasuresCompleted": 1,
  "MeasuresTotal": 1,
  "AncestorType": 1,
  "SiteID": "47a83c2b-057b-4ea5-8468-3560e8442517"
}