POST Api/ApplicationChoices/AddUpdateApplicationChoice

Request Information

URI Parameters

None.

Body Parameters

ApplicationChoicesModel
NameDescriptionTypeAdditional information
Id

integer

None.

ChoiceFieldName

string

None.

ChoiceFieldDisplayText

string

None.

ChoiceFieldValue

string

None.

IsDefault

boolean

None.

IsActive

boolean

None.

IsSystemChoiceField

boolean

None.

CustomerId

integer

None.

Order

integer

None.

ErrorId

integer

None.

Notes

string

None.

ModifiedDate

date

None.

ConfigDateTimeFormat

string

None.

ModifiedBy

string

None.

ModifiedId

integer

None.

BusinessUnit

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ChoiceFieldName": "sample string 2",
  "ChoiceFieldDisplayText": "sample string 3",
  "ChoiceFieldValue": "sample string 4",
  "IsDefault": true,
  "IsActive": true,
  "IsSystemChoiceField": true,
  "CustomerId": 8,
  "Order": 1,
  "ErrorId": 9,
  "Notes": "sample string 10",
  "ModifiedDate": "2025-01-08T18:43:27.2763018+00:00",
  "ConfigDateTimeFormat": "sample string 12",
  "ModifiedBy": "sample string 13",
  "ModifiedId": 1,
  "BusinessUnit": "sample string 14"
}

application/xml, text/xml

Sample:
<ApplicationChoicesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels">
  <BusinessUnit xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.CommonModels">sample string 14</BusinessUnit>
  <ChoiceFieldDisplayText>sample string 3</ChoiceFieldDisplayText>
  <ChoiceFieldName>sample string 2</ChoiceFieldName>
  <ChoiceFieldValue>sample string 4</ChoiceFieldValue>
  <ConfigDateTimeFormat>sample string 12</ConfigDateTimeFormat>
  <CustomerId>8</CustomerId>
  <ErrorId>9</ErrorId>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsDefault>true</IsDefault>
  <IsSystemChoiceField>true</IsSystemChoiceField>
  <ModifiedBy>sample string 13</ModifiedBy>
  <ModifiedDate>2025-01-08T18:43:27.2763018+00:00</ModifiedDate>
  <ModifiedId>1</ModifiedId>
  <Notes>sample string 10</Notes>
  <Order>1</Order>
</ApplicationChoicesModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.