POST api/CompanyGoal?saveInput={saveInput}&companyId={companyId}&appId={appId}

Documentation for 'Post'.

Request Information

Parameters

NameDescriptionAdditional information
inputs
Documentation for 'inputs'.

Define this parameter in the request body.

saveInput
Documentation for 'saveInput'.

Define this parameter in the request URI.

companyId
Documentation for 'companyId'.

Define this parameter in the request URI.

appId
Documentation for 'appId'.

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
[
  {
    "Id": "11640d1f-e8fb-4c3e-b502-8fa4499527e1",
    "GoalId": "42f8fb26-38cb-4540-9c19-674c696fab0d",
    "CompanyId": "d5f73057-6b14-4741-8ae2-ce2bb0c79a77",
    "Value": 4.0,
    "IsActive": true,
    "DateCreated": "2017-11-19T19:24:03.3108527+00:00",
    "CreatedBy": "d049aba3-eed5-4159-933b-0d2d38fbaeea",
    "DateModified": "2017-11-19T19:24:03.3108527+00:00",
    "ModifiedBy": "e010ce66-ba47-4251-97a9-b615971cc993",
    "GoalName": "sample string 10"
  },
  {
    "Id": "11640d1f-e8fb-4c3e-b502-8fa4499527e1",
    "GoalId": "42f8fb26-38cb-4540-9c19-674c696fab0d",
    "CompanyId": "d5f73057-6b14-4741-8ae2-ce2bb0c79a77",
    "Value": 4.0,
    "IsActive": true,
    "DateCreated": "2017-11-19T19:24:03.3108527+00:00",
    "CreatedBy": "d049aba3-eed5-4159-933b-0d2d38fbaeea",
    "DateModified": "2017-11-19T19:24:03.3108527+00:00",
    "ModifiedBy": "e010ce66-ba47-4251-97a9-b615971cc993",
    "GoalName": "sample string 10"
  },
  {
    "Id": "11640d1f-e8fb-4c3e-b502-8fa4499527e1",
    "GoalId": "42f8fb26-38cb-4540-9c19-674c696fab0d",
    "CompanyId": "d5f73057-6b14-4741-8ae2-ce2bb0c79a77",
    "Value": 4.0,
    "IsActive": true,
    "DateCreated": "2017-11-19T19:24:03.3108527+00:00",
    "CreatedBy": "d049aba3-eed5-4159-933b-0d2d38fbaeea",
    "DateModified": "2017-11-19T19:24:03.3108527+00:00",
    "ModifiedBy": "e010ce66-ba47-4251-97a9-b615971cc993",
    "GoalName": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCompanyGoals xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OBDiagnostics.Business">
  <CompanyGoals>
    <CompanyId>d5f73057-6b14-4741-8ae2-ce2bb0c79a77</CompanyId>
    <CreatedBy>d049aba3-eed5-4159-933b-0d2d38fbaeea</CreatedBy>
    <DateCreated>2017-11-19T19:24:03.3108527+00:00</DateCreated>
    <DateModified>2017-11-19T19:24:03.3108527+00:00</DateModified>
    <GoalId>42f8fb26-38cb-4540-9c19-674c696fab0d</GoalId>
    <GoalName>sample string 10</GoalName>
    <Id>11640d1f-e8fb-4c3e-b502-8fa4499527e1</Id>
    <IsActive>true</IsActive>
    <ModifiedBy>e010ce66-ba47-4251-97a9-b615971cc993</ModifiedBy>
    <Value>4</Value>
  </CompanyGoals>
  <CompanyGoals>
    <CompanyId>d5f73057-6b14-4741-8ae2-ce2bb0c79a77</CompanyId>
    <CreatedBy>d049aba3-eed5-4159-933b-0d2d38fbaeea</CreatedBy>
    <DateCreated>2017-11-19T19:24:03.3108527+00:00</DateCreated>
    <DateModified>2017-11-19T19:24:03.3108527+00:00</DateModified>
    <GoalId>42f8fb26-38cb-4540-9c19-674c696fab0d</GoalId>
    <GoalName>sample string 10</GoalName>
    <Id>11640d1f-e8fb-4c3e-b502-8fa4499527e1</Id>
    <IsActive>true</IsActive>
    <ModifiedBy>e010ce66-ba47-4251-97a9-b615971cc993</ModifiedBy>
    <Value>4</Value>
  </CompanyGoals>
  <CompanyGoals>
    <CompanyId>d5f73057-6b14-4741-8ae2-ce2bb0c79a77</CompanyId>
    <CreatedBy>d049aba3-eed5-4159-933b-0d2d38fbaeea</CreatedBy>
    <DateCreated>2017-11-19T19:24:03.3108527+00:00</DateCreated>
    <DateModified>2017-11-19T19:24:03.3108527+00:00</DateModified>
    <GoalId>42f8fb26-38cb-4540-9c19-674c696fab0d</GoalId>
    <GoalName>sample string 10</GoalName>
    <Id>11640d1f-e8fb-4c3e-b502-8fa4499527e1</Id>
    <IsActive>true</IsActive>
    <ModifiedBy>e010ce66-ba47-4251-97a9-b615971cc993</ModifiedBy>
    <Value>4</Value>
  </CompanyGoals>
</ArrayOfCompanyGoals>

application/x-www-form-urlencoded

Sample:

Sample not available.