POST api/DeleteAttribute
Adds or updates an account attribute.
Request Information
URI Parameters
None.
Body Parameters
DeleteAttributeRequestName | Description | Type | Additional information |
---|---|---|---|
SessionKey | string | ||
AttributeId | integer |
Request Formats
application/json, text/json
Sample:
{ "SessionKey": "sample string 1", "AttributeId": 2 }
application/xml, text/xml
Sample:
<DeleteAttributeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Account"> <AttributeId>2</AttributeId> <SessionKey>sample string 1</SessionKey> </DeleteAttributeRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SetAttributeResult object
ApiSuccessOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Success | boolean | ||
Data | boolean |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Data": true }
application/xml, text/xml
Sample:
<ApiSuccessOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Api"> <Data>true</Data> </ApiSuccessOfboolean>