POST api/v1/Goals/Create

Request Information

URI Parameters

None.

Body Parameters

AgencyGoalsLog
NameDescriptionTypeAdditional information
ID

integer

None.

GoalID

string

None.

AgencyDatabaseID

string

None.

GoalType

string

None.

CarrierCompany

string

None.

GoalAmount

decimal number

None.

GoalStartDate

date

None.

GoalTargetDate

date

None.

GoalProgress

string

None.

Active

boolean

None.

Deleted

boolean

None.

IsLatest

boolean

None.

CreatedBy

string

None.

CreatedDateTime

date

None.

GoalReachedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "GoalID": "sample string 2",
  "AgencyDatabaseID": "sample string 3",
  "GoalType": "sample string 4",
  "CarrierCompany": "sample string 5",
  "GoalAmount": 1.0,
  "GoalStartDate": "2025-04-29T13:23:42.6445454-04:00",
  "GoalTargetDate": "2025-04-29T13:23:42.6445454-04:00",
  "GoalProgress": "sample string 8",
  "Active": true,
  "Deleted": true,
  "IsLatest": true,
  "CreatedBy": "sample string 12",
  "CreatedDateTime": "2025-04-29T13:23:42.6445454-04:00",
  "GoalReachedDate": "2025-04-29T13:23:42.6445454-04:00"
}

application/xml, text/xml

Sample:
<AgencyGoalsLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RAIS.API.Models.Entities">
  <Active>true</Active>
  <AgencyDatabaseID>sample string 3</AgencyDatabaseID>
  <CarrierCompany>sample string 5</CarrierCompany>
  <CreatedBy>sample string 12</CreatedBy>
  <CreatedDateTime>2025-04-29T13:23:42.6445454-04:00</CreatedDateTime>
  <Deleted>true</Deleted>
  <GoalAmount>1</GoalAmount>
  <GoalID>sample string 2</GoalID>
  <GoalProgress>sample string 8</GoalProgress>
  <GoalReachedDate>2025-04-29T13:23:42.6445454-04:00</GoalReachedDate>
  <GoalStartDate>2025-04-29T13:23:42.6445454-04:00</GoalStartDate>
  <GoalTargetDate>2025-04-29T13:23:42.6445454-04:00</GoalTargetDate>
  <GoalType>sample string 4</GoalType>
  <ID>1</ID>
  <IsLatest>true</IsLatest>
</AgencyGoalsLog>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.