GET api/v1/OptionTypes/GetTypesAndValuesByIds/{optionIds}
Get all options and values requested. This is an asychronous service.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| optionIds |
A comma delimited list of integers. Example: api/v1/Options/GetByIds/1,2,3,4,5,6,7 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseModelOfListOfOptionAndTypesModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfListOfOptionAndTypesModel |
None. |
|
| Errors | Collection of string |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"PageSize": 1,
"Page": 2,
"TotalPages": 3,
"TotalResults": 4,
"Results": [
{
"OptionTypeId": 1,
"OptionType": "sample string 2",
"OptionTypeDescription": "sample string 3",
"OptionTypeValueId": 4,
"Option": "sample string 5",
"Description": "sample string 6",
"IsDefault": true,
"SortOrder": 8,
"ParentOptionTypeValueId": 1
},
{
"OptionTypeId": 1,
"OptionType": "sample string 2",
"OptionTypeDescription": "sample string 3",
"OptionTypeValueId": 4,
"Option": "sample string 5",
"Description": "sample string 6",
"IsDefault": true,
"SortOrder": 8,
"ParentOptionTypeValueId": 1
}
]
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}