api/v1/sims/{id}/update

Method: PUT https://simportal-api-staging.azurewebsites.net/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": "5566025d-601a-415a-a5ae-7d4000f734a4",
  "OwnerEmail": "sample string 2",
  "OwnerMobileNumber": "sample string 3",
  "SimTags": "sample string 4",
  "CustomerId": "sample string 5"
}

application/xml, text/xml

Sample:
<SimsController.SimUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Controllers">
  <CustomerId>sample string 5</CustomerId>
  <Id>5566025d-601a-415a-a5ae-7d4000f734a4</Id>
  <OwnerEmail>sample string 2</OwnerEmail>
  <OwnerMobileNumber>sample string 3</OwnerMobileNumber>
  <SimTags>sample string 4</SimTags>
</SimsController.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.