api/v1/customers/{id}/Update
Method: PATCH https://developers.mobilemanager.co.uk/api/v1/customers/{id}/Update
Summary
Updates a customer
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
The properties required to update the customer
CustomerPatchModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
CustomerDefaultEmail | string |
None. |
|
DefaultPoolId | globally unique identifier |
None. |
|
Suspended | boolean |
None. |
|
Hidden | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "CustomerDefaultEmail": "sample string 2", "DefaultPoolId": "2b59e335-ea3b-4584-b2f5-e71a03f9dc02", "Suspended": true, "Hidden": true }
application/xml, text/xml
Sample:
<CustomerPatchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Controllers"> <CustomerDefaultEmail>sample string 2</CustomerDefaultEmail> <DefaultPoolId>2b59e335-ea3b-4584-b2f5-e71a03f9dc02</DefaultPoolId> <Hidden>true</Hidden> <Name>sample string 1</Name> <Suspended>true</Suspended> </CustomerPatchModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CustomerPatchModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
CustomerDefaultEmail | string |
None. |
|
DefaultPoolId | globally unique identifier |
None. |
|
Suspended | boolean |
None. |
|
Hidden | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "CustomerDefaultEmail": "sample string 2", "DefaultPoolId": "9d97b58b-5800-4e36-ab41-35ba58a1285b", "Suspended": true, "Hidden": true }
application/xml, text/xml
Sample:
<CustomerPatchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Controllers"> <CustomerDefaultEmail>sample string 2</CustomerDefaultEmail> <DefaultPoolId>9d97b58b-5800-4e36-ab41-35ba58a1285b</DefaultPoolId> <Hidden>true</Hidden> <Name>sample string 1</Name> <Suspended>true</Suspended> </CustomerPatchModel>