POST RequestTypes/UpdateRequestTypeTerms
Updates terms associated with a request type.
Request Information
URI Parameters
None.
Body Parameters
Update information defining the request type to update, and the terms that should be associated with the request type.
UpdateRequestTypeTermsDTOName | Description | Type | Additional information |
---|---|---|---|
RequestTypeID |
Gets or sets the ID of the RequestType to update the terms for. |
globally unique identifier |
None. |
Terms |
Gets or sets the collection of term IDs to be associated with the RequestType. |
Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "results": [ { "RequestTypeID": "8aad6b77-2783-4a98-9d09-231604bdf957", "Terms": [ "a262eb95-c28c-4113-8a62-429096be519e", "c2b5df04-37eb-4999-b8b4-30cdf3f0320a" ] } ] }
text/javascript
Sample:
{"results":[{"RequestTypeID":"8aad6b77-2783-4a98-9d09-231604bdf957","Terms":["a262eb95-c28c-4113-8a62-429096be519e","c2b5df04-37eb-4999-b8b4-30cdf3f0320a"]}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<UpdateRequestTypeTermsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <RequestTypeID>8aad6b77-2783-4a98-9d09-231604bdf957</RequestTypeID> <Terms xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>a262eb95-c28c-4113-8a62-429096be519e</d2p1:guid> <d2p1:guid>c2b5df04-37eb-4999-b8b4-30cdf3f0320a</d2p1:guid> </Terms> </UpdateRequestTypeTermsDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Http Accepted or Bad Request
HttpResponseMessageName | 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. |