PATCH api/v1/teamdata/questions/{id}
Disables and enables the TeamData question.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
question id. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
TwoSms.CustomerPortalRole.API.Misc.ResponseOfSystem.GuidName | Description | Type | Additional information |
---|---|---|---|
Error | TwoSms.CustomerPortalRole.API.Misc.Error |
None. |
|
ResponseData | TwoSms.CustomerPortalRole.API.Misc.ResponseDataOfSystem.Guid |
None. |
Response Formats
application/json, text/json
Sample:
{ "Error": { "ErrorCode": "sample string 1", "ErrorReason": "sample string 2" }, "ResponseData": { "Identification": { "UserId": "sample string 1" }, "Result": "sample string 1", "Detail": "a1decc85-98bd-42b8-8ff4-e0236297c619" } }
application/xml, text/xml
Sample:
<ResponseOfGuid xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Error> <ErrorCode>sample string 1</ErrorCode> <ErrorReason>sample string 2</ErrorReason> </Error> <ResponseData> <Result>sample string 1</Result> <Identification> <UserId>sample string 1</UserId> </Identification> <Detail>a1decc85-98bd-42b8-8ff4-e0236297c619</Detail> </ResponseData> </ResponseOfGuid>