POST api/ProjectManager/SaveTaskObjective

Request Information

URI Parameters

None.

Body Parameters

TaskObjectiveBAL
NameDescriptionTypeAdditional information
TaskObjectiveID

integer

None.

ObjectiveName

string

None.

OrganizationID

integer

None.

Client

string

None.

Request Formats

application/json, text/json

Sample:
{
  "taskObjectiveID": 1,
  "objectiveName": "sample string 1",
  "organizationID": 1,
  "client": "sample string 2"
}

application/xml, text/xml

Sample:
<TaskObjectiveBAL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Transportal.BAL.ProjectManager">
  <Client>sample string 2</Client>
  <ObjectiveName>sample string 1</ObjectiveName>
  <OrganizationID>1</OrganizationID>
  <TaskObjectiveID>1</TaskObjectiveID>
</TaskObjectiveBAL>

multipart/form-data

Sample:
<TaskObjectiveBAL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Transportal.BAL.ProjectManager"><Client>sample string 2</Client><ObjectiveName>sample string 1</ObjectiveName><OrganizationID>1</OrganizationID><TaskObjectiveID>1</TaskObjectiveID></TaskObjectiveBAL>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.