api/v1/sims/{id}/update

Method: PUT https://developers.mobilemanager.co.uk/api/v1/sims/{id}/update

Summary

Update SIM details

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

None.

Body Parameters

THe SimUpdateModel contains all of the new information regarding the SIM

SimUpdateModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

OwnerEmail

string

None.

OwnerMobileNumber

string

None.

SimTags

string

None.

CustomerId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "cd6cc63b-479d-466b-b58e-89694b9a0936",
  "OwnerEmail": "sample string 2",
  "OwnerMobileNumber": "sample string 3",
  "SimTags": "sample string 4",
  "CustomerId": "sample string 5"
}

application/xml, text/xml

Sample:
<SimUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Models.SIMs">
  <CustomerId>sample string 5</CustomerId>
  <Id>cd6cc63b-479d-466b-b58e-89694b9a0936</Id>
  <OwnerEmail>sample string 2</OwnerEmail>
  <OwnerMobileNumber>sample string 3</OwnerMobileNumber>
  <SimTags>sample string 4</SimTags>
</SimUpdateModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SimUpdateModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.