POST api/Values/AddOptionSetOptions
Request Information
URI Parameters
None.
Body Parameters
OptionSetWrapper| Name | Description | Type | Additional information |
|---|---|---|---|
| EntityLogicalName | string |
None. |
|
| OptionSetName | string |
None. |
|
| Options | Collection of CrmOptionSetOptions |
None. |
Request Formats
application/json, text/json
Sample:
{
"EntityLogicalName": "sample string 1",
"OptionSetName": "sample string 2",
"Options": [
{
"value": 1,
"text": "sample string 2"
},
{
"value": 1,
"text": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<OptionSetWrapper xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ac.Rehovot.Api.Models.RequestWrappers">
<EntityLogicalName>sample string 1</EntityLogicalName>
<OptionSetName>sample string 2</OptionSetName>
<Options>
<CrmOptionSetOptions>
<text>sample string 2</text>
<value>1</value>
</CrmOptionSetOptions>
<CrmOptionSetOptions>
<text>sample string 2</text>
<value>1</value>
</CrmOptionSetOptions>
</Options>
</OptionSetWrapper>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |