PUT api/ResponseOptions

Request Information

URI Parameters

None.

Body Parameters

ResponseOptionsCreateAndUpdateModel
NameDescriptionTypeAdditional information
ResponseOptionDetails

ResponseOptions

None.

LimitAndActionDetails

Collection of ResponseOptionsLimitCreateAndUpdateModel

None.

Industries

Collection of Industry

None.

ResponseOptionSubIndustries

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ResponseOptionDetails": {
    "AccountId": 1,
    "GlobalId": 2,
    "Scope": "sample string 3",
    "Name": "sample string 4",
    "UiLabel": "sample string 5",
    "RangeMin": 6.1,
    "RangeMax": 7.1,
    "RangeFormat": "sample string 8",
    "Description": "sample string 9",
    "AllowZero": true,
    "HideLimit": true,
    "LabelColor": "sample string 12",
    "BackGroundColor": "sample string 13",
    "RangeIncrement": 14,
    "ROUnitId": 15,
    "ROTypeId": 16,
    "ROInputMethodId": 17,
    "Order": 18,
    "DBLookupValue": 19,
    "Id": 20,
    "Status": "sample string 21",
    "CreatedBy": "sample string 22",
    "CreateTimestamp": "2024-11-21T08:51:54.6502955+00:00",
    "ModifiedBy": "sample string 24",
    "ModifiedTimestamp": "2024-11-21T08:51:54.6502955+00:00",
    "DataStateFlag": "sample string 25"
  },
  "LimitAndActionDetails": [
    {
      "Id": 1,
      "AccountId": 2,
      "Scope": "sample string 3",
      "GlobalLimitId": 4,
      "ResponseOptionId": 5,
      "Name": "sample string 6",
      "LowerLimit": 7.1,
      "UpperLimit": 8.1,
      "Compliance": 9.1,
      "ExcludeFromCalc": true,
      "IsScoring": true,
      "Status": "sample string 12",
      "CreatedBy": "sample string 13",
      "CreateTimestamp": "2024-11-21T08:51:54.6502955+00:00",
      "ModifiedBy": "sample string 15",
      "ModifiedTimestamp": "2024-11-21T08:51:54.6502955+00:00",
      "DataStateFlag": "sample string 16",
      "ActionsDetails": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "RangeUnit": "sample string 17"
    },
    {
      "Id": 1,
      "AccountId": 2,
      "Scope": "sample string 3",
      "GlobalLimitId": 4,
      "ResponseOptionId": 5,
      "Name": "sample string 6",
      "LowerLimit": 7.1,
      "UpperLimit": 8.1,
      "Compliance": 9.1,
      "ExcludeFromCalc": true,
      "IsScoring": true,
      "Status": "sample string 12",
      "CreatedBy": "sample string 13",
      "CreateTimestamp": "2024-11-21T08:51:54.6502955+00:00",
      "ModifiedBy": "sample string 15",
      "ModifiedTimestamp": "2024-11-21T08:51:54.6502955+00:00",
      "DataStateFlag": "sample string 16",
      "ActionsDetails": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "RangeUnit": "sample string 17"
    }
  ],
  "Industries": [
    {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "NAICSCode": 3,
      "Id": 4,
      "Status": "sample string 5",
      "CreatedBy": "sample string 6",
      "CreateTimestamp": "2024-11-21T08:51:54.6502955+00:00",
      "ModifiedBy": "sample string 8",
      "ModifiedTimestamp": "2024-11-21T08:51:54.6502955+00:00",
      "DataStateFlag": "sample string 9"
    },
    {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "NAICSCode": 3,
      "Id": 4,
      "Status": "sample string 5",
      "CreatedBy": "sample string 6",
      "CreateTimestamp": "2024-11-21T08:51:54.6502955+00:00",
      "ModifiedBy": "sample string 8",
      "ModifiedTimestamp": "2024-11-21T08:51:54.6502955+00:00",
      "DataStateFlag": "sample string 9"
    }
  ],
  "ResponseOptionSubIndustries": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<ResponseOptionsCreateAndUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.ResponseOption">
  <Industries xmlns:d2p1="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.IndustryAndSubIndustry">
    <d2p1:Industry>
      <CreateTimestamp xmlns:d4p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">
        <d4p1:DateTime>2024-11-21T08:51:54.6502955Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </CreateTimestamp>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 6</CreatedBy>
      <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 9</DataStateFlag>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">4</Id>
      <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 8</ModifiedBy>
      <ModifiedTimestamp xmlns:d4p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">
        <d4p1:DateTime>2024-11-21T08:51:54.6502955Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </ModifiedTimestamp>
      <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 5</Status>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:NAICSCode>3</d2p1:NAICSCode>
      <d2p1:Name>sample string 1</d2p1:Name>
    </d2p1:Industry>
    <d2p1:Industry>
      <CreateTimestamp xmlns:d4p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">
        <d4p1:DateTime>2024-11-21T08:51:54.6502955Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </CreateTimestamp>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 6</CreatedBy>
      <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 9</DataStateFlag>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">4</Id>
      <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 8</ModifiedBy>
      <ModifiedTimestamp xmlns:d4p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">
        <d4p1:DateTime>2024-11-21T08:51:54.6502955Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </ModifiedTimestamp>
      <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 5</Status>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:NAICSCode>3</d2p1:NAICSCode>
      <d2p1:Name>sample string 1</d2p1:Name>
    </d2p1:Industry>
  </Industries>
  <LimitAndActionDetails>
    <ResponseOptionsLimitCreateAndUpdateModel>
      <AccountId>2</AccountId>
      <ActionsDetails>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </ActionsDetails>
      <Compliance>9.1</Compliance>
      <CreateTimestamp xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>2024-11-21T08:51:54.6502955Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </CreateTimestamp>
      <CreatedBy>sample string 13</CreatedBy>
      <DataStateFlag>sample string 16</DataStateFlag>
      <ExcludeFromCalc>true</ExcludeFromCalc>
      <GlobalLimitId>4</GlobalLimitId>
      <Id>1</Id>
      <IsScoring>true</IsScoring>
      <LowerLimit>7.1</LowerLimit>
      <ModifiedBy>sample string 15</ModifiedBy>
      <ModifiedTimestamp xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>2024-11-21T08:51:54.6502955Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </ModifiedTimestamp>
      <Name>sample string 6</Name>
      <RangeUnit>sample string 17</RangeUnit>
      <ResponseOptionId>5</ResponseOptionId>
      <Scope>sample string 3</Scope>
      <Status>sample string 12</Status>
      <UpperLimit>8.1</UpperLimit>
    </ResponseOptionsLimitCreateAndUpdateModel>
    <ResponseOptionsLimitCreateAndUpdateModel>
      <AccountId>2</AccountId>
      <ActionsDetails>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </ActionsDetails>
      <Compliance>9.1</Compliance>
      <CreateTimestamp xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>2024-11-21T08:51:54.6502955Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </CreateTimestamp>
      <CreatedBy>sample string 13</CreatedBy>
      <DataStateFlag>sample string 16</DataStateFlag>
      <ExcludeFromCalc>true</ExcludeFromCalc>
      <GlobalLimitId>4</GlobalLimitId>
      <Id>1</Id>
      <IsScoring>true</IsScoring>
      <LowerLimit>7.1</LowerLimit>
      <ModifiedBy>sample string 15</ModifiedBy>
      <ModifiedTimestamp xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>2024-11-21T08:51:54.6502955Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </ModifiedTimestamp>
      <Name>sample string 6</Name>
      <RangeUnit>sample string 17</RangeUnit>
      <ResponseOptionId>5</ResponseOptionId>
      <Scope>sample string 3</Scope>
      <Status>sample string 12</Status>
      <UpperLimit>8.1</UpperLimit>
    </ResponseOptionsLimitCreateAndUpdateModel>
  </LimitAndActionDetails>
  <ResponseOptionDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.ResponseOption">
    <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">
      <d3p1:DateTime>2024-11-21T08:51:54.6502955Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </CreateTimestamp>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 22</CreatedBy>
    <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 25</DataStateFlag>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">20</Id>
    <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 24</ModifiedBy>
    <ModifiedTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">
      <d3p1:DateTime>2024-11-21T08:51:54.6502955Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </ModifiedTimestamp>
    <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 21</Status>
    <d2p1:AccountId>1</d2p1:AccountId>
    <d2p1:AllowZero>true</d2p1:AllowZero>
    <d2p1:BackGroundColor>sample string 13</d2p1:BackGroundColor>
    <d2p1:DBLookupValue>19</d2p1:DBLookupValue>
    <d2p1:Description>sample string 9</d2p1:Description>
    <d2p1:GlobalId>2</d2p1:GlobalId>
    <d2p1:HideLimit>true</d2p1:HideLimit>
    <d2p1:LabelColor>sample string 12</d2p1:LabelColor>
    <d2p1:Name>sample string 4</d2p1:Name>
    <d2p1:Order>18</d2p1:Order>
    <d2p1:ROInputMethodId>17</d2p1:ROInputMethodId>
    <d2p1:ROTypeId>16</d2p1:ROTypeId>
    <d2p1:ROUnitId>15</d2p1:ROUnitId>
    <d2p1:RangeFormat>sample string 8</d2p1:RangeFormat>
    <d2p1:RangeIncrement>14</d2p1:RangeIncrement>
    <d2p1:RangeMax>7.1</d2p1:RangeMax>
    <d2p1:RangeMin>6.1</d2p1:RangeMin>
    <d2p1:Scope>sample string 3</d2p1:Scope>
    <d2p1:UiLabel>sample string 5</d2p1:UiLabel>
  </ResponseOptionDetails>
  <ResponseOptionSubIndustries xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ResponseOptionSubIndustries>
</ResponseOptionsCreateAndUpdateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>