POST api/CompanyGoal?appId={appId}

Documentation for 'Post'.

Request Information

Parameters

NameDescriptionAdditional information
input
Documentation for 'input'.

Define this parameter in the request body.

appId
Documentation for 'appId'.

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "Id": "b78cd15d-12fd-467e-b3b9-84a90892a7d7",
  "GoalId": "d2ca74a3-190b-460a-8a9f-b7aa7ee7b375",
  "CompanyId": "c99a0b26-ff7c-432e-98ec-6d51aa73ab0a",
  "Value": 4.0,
  "IsActive": true,
  "DateCreated": "2017-11-19T19:21:34.7008669+00:00",
  "CreatedBy": "006619a7-8b7c-49ec-94d3-80066b57c9be",
  "DateModified": "2017-11-19T19:21:34.7008669+00:00",
  "ModifiedBy": "dd430859-50a6-446f-87e0-b241a0b1299b",
  "GoalName": "sample string 10"
}

application/xml, text/xml

Sample:
<CompanyGoals xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OBDiagnostics.Business">
  <CompanyId>c99a0b26-ff7c-432e-98ec-6d51aa73ab0a</CompanyId>
  <CreatedBy>006619a7-8b7c-49ec-94d3-80066b57c9be</CreatedBy>
  <DateCreated>2017-11-19T19:21:34.7008669+00:00</DateCreated>
  <DateModified>2017-11-19T19:21:34.7008669+00:00</DateModified>
  <GoalId>d2ca74a3-190b-460a-8a9f-b7aa7ee7b375</GoalId>
  <GoalName>sample string 10</GoalName>
  <Id>b78cd15d-12fd-467e-b3b9-84a90892a7d7</Id>
  <IsActive>true</IsActive>
  <ModifiedBy>dd430859-50a6-446f-87e0-b241a0b1299b</ModifiedBy>
  <Value>4</Value>
</CompanyGoals>

application/x-www-form-urlencoded

Sample:

Sample not available.