api/v1/customers
Method: POST https://developers.mobilemanager.co.uk/api/v1/customers
Summary
Create a customer
Request Information
URI Parameters
None.
Body Parameters
The CustomerModel contains all of the information regarding a customer
CustomerModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DefaultEmail | string |
None. |
|
| Name | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DefaultEmail": "sample string 1",
"Name": "sample string 2"
}
application/xml, text/xml
Sample:
<CustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Controllers"> <DefaultEmail>sample string 1</DefaultEmail> <Name>sample string 2</Name> </CustomerModel>
application/x-www-form-urlencoded
Sample:
DefaultEmail=samplestring&Name=samplestring
Response Information
Resource Description
CustomerDetailsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ActiveSims | integer |
None. |
|
| Id | globally unique identifier |
None. |
|
| InactiveSims | integer |
None. |
|
| Name | string |
None. |
|
| Status | string |
None. |
|
| TotalSims | integer |
None. |
|
| UnactivatedSims | integer |
None. |
|
| DefaultPoolName | string |
None. |
|
| DefaultPoolId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"ActiveSims": 1,
"Id": "b5f11728-ada8-42d9-88ff-981b66944083",
"InactiveSims": 3,
"Name": "sample string 4",
"Status": "sample string 5",
"TotalSims": 6,
"UnactivatedSims": 7,
"DefaultPoolName": "sample string 8",
"DefaultPoolId": "35fd5516-ef11-445a-b5f9-4c27713b1bf0"
}
application/xml, text/xml
Sample:
<CustomerDetailsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Controllers" />