POST api/Common/AddObjective

Request Information

URI Parameters

None.

Body Parameters

AssessedObjectivesModel
NameDescriptionTypeAdditional information
UD_IAP_MSDP_AssNeeds_Goals_ObjectivesID

integer

None.

UD_IAP_MSDP_AssessedNeeds_GoalsID

integer

None.

CompanyID

integer

None.

IsDraft

boolean

None.

CreatedOn

date

None.

LastModifiedOn

date

None.

LastModifiedBy

integer

None.

SelectObjectiveForWiley

integer

None.

Objective

string

None.

PersonServedWill

string

None.

ParentGuardianCommunity

string

None.

StartDateOfObjective

date

None.

TargetCompletionDateOfObj

date

None.

ObjectiveStatus

integer

None.

DateOfObjectiveDiscont

date

None.

DateOfObjectiveCompletion

date

None.

Request Formats

application/json, text/json

Sample:
{
  "UD_IAP_MSDP_AssNeeds_Goals_ObjectivesID": 1,
  "UD_IAP_MSDP_AssessedNeeds_GoalsID": 2,
  "CompanyID": 3,
  "IsDraft": true,
  "CreatedOn": "2026-04-17T12:58:18.9852893+00:00",
  "LastModifiedOn": "2026-04-17T12:58:18.9852893+00:00",
  "LastModifiedBy": 7,
  "SelectObjectiveForWiley": 8,
  "Objective": "sample string 9",
  "PersonServedWill": "sample string 10",
  "ParentGuardianCommunity": "sample string 11",
  "StartDateOfObjective": "2026-04-17T12:58:18.9852893+00:00",
  "TargetCompletionDateOfObj": "2026-04-17T12:58:18.9852893+00:00",
  "ObjectiveStatus": 14,
  "DateOfObjectiveDiscont": "2026-04-17T12:58:18.9852893+00:00",
  "DateOfObjectiveCompletion": "2026-04-17T12:58:18.9852893+00:00"
}

application/xml, text/xml

Sample:
<AssessedObjectivesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CSI.Cx360.WebAPI.Models">
  <CompanyID>3</CompanyID>
  <CreatedOn>2026-04-17T12:58:18.9852893+00:00</CreatedOn>
  <DateOfObjectiveCompletion>2026-04-17T12:58:18.9852893+00:00</DateOfObjectiveCompletion>
  <DateOfObjectiveDiscont>2026-04-17T12:58:18.9852893+00:00</DateOfObjectiveDiscont>
  <IsDraft>true</IsDraft>
  <LastModifiedBy>7</LastModifiedBy>
  <LastModifiedOn>2026-04-17T12:58:18.9852893+00:00</LastModifiedOn>
  <Objective>sample string 9</Objective>
  <ObjectiveStatus>14</ObjectiveStatus>
  <ParentGuardianCommunity>sample string 11</ParentGuardianCommunity>
  <PersonServedWill>sample string 10</PersonServedWill>
  <SelectObjectiveForWiley>8</SelectObjectiveForWiley>
  <StartDateOfObjective>2026-04-17T12:58:18.9852893+00:00</StartDateOfObjective>
  <TargetCompletionDateOfObj>2026-04-17T12:58:18.9852893+00:00</TargetCompletionDateOfObj>
  <UD_IAP_MSDP_AssNeeds_Goals_ObjectivesID>1</UD_IAP_MSDP_AssNeeds_Goals_ObjectivesID>
  <UD_IAP_MSDP_AssessedNeeds_GoalsID>2</UD_IAP_MSDP_AssessedNeeds_GoalsID>
</AssessedObjectivesModel>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />