POST api/SfUtopiaAccountStatus
Documentation for 'UpdateAccountStatuses'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
updateRequests | Documentation for 'updateRequests'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
[ { "AccountId": "sample string 1", "AccountStatus": 0, "ExpiresOn": "2025-03-23T12:47:52.9310386+00:00" }, { "AccountId": "sample string 1", "AccountStatus": 0, "ExpiresOn": "2025-03-23T12:47:52.9310386+00:00" }, { "AccountId": "sample string 1", "AccountStatus": 0, "ExpiresOn": "2025-03-23T12:47:52.9310386+00:00" } ]
application/xml, text/xml
Sample:
<ArrayOfAccountStatusUpdate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <AccountStatusUpdate> <AccountId>sample string 1</AccountId> <AccountStatus>Enabled</AccountStatus> <ExpiresOn>2025-03-23T12:47:52.9310386+00:00</ExpiresOn> </AccountStatusUpdate> <AccountStatusUpdate> <AccountId>sample string 1</AccountId> <AccountStatus>Enabled</AccountStatus> <ExpiresOn>2025-03-23T12:47:52.9310386+00:00</ExpiresOn> </AccountStatusUpdate> <AccountStatusUpdate> <AccountId>sample string 1</AccountId> <AccountStatus>Enabled</AccountStatus> <ExpiresOn>2025-03-23T12:47:52.9310386+00:00</ExpiresOn> </AccountStatusUpdate> </ArrayOfAccountStatusUpdate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
[ { "IsSuccess": true, "Error": "sample string 2", "AccountId": "sample string 3", "AccountStatus": 0, "ExpiresOn": "2025-03-23T12:47:52.9310386+00:00" }, { "IsSuccess": true, "Error": "sample string 2", "AccountId": "sample string 3", "AccountStatus": 0, "ExpiresOn": "2025-03-23T12:47:52.9310386+00:00" }, { "IsSuccess": true, "Error": "sample string 2", "AccountId": "sample string 3", "AccountStatus": 0, "ExpiresOn": "2025-03-23T12:47:52.9310386+00:00" } ]
application/xml, text/xml
Sample:
<ArrayOfAccountStatusUpdateResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <AccountStatusUpdateResponse> <AccountId>sample string 3</AccountId> <AccountStatus>Enabled</AccountStatus> <ExpiresOn>2025-03-23T12:47:52.9310386+00:00</ExpiresOn> <IsSuccess>true</IsSuccess> <Error>sample string 2</Error> </AccountStatusUpdateResponse> <AccountStatusUpdateResponse> <AccountId>sample string 3</AccountId> <AccountStatus>Enabled</AccountStatus> <ExpiresOn>2025-03-23T12:47:52.9310386+00:00</ExpiresOn> <IsSuccess>true</IsSuccess> <Error>sample string 2</Error> </AccountStatusUpdateResponse> <AccountStatusUpdateResponse> <AccountId>sample string 3</AccountId> <AccountStatus>Enabled</AccountStatus> <ExpiresOn>2025-03-23T12:47:52.9310386+00:00</ExpiresOn> <IsSuccess>true</IsSuccess> <Error>sample string 2</Error> </AccountStatusUpdateResponse> </ArrayOfAccountStatusUpdateResponse>