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": "74601cb2-1936-4c09-89d5-e5f60bb30425",
  "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>74601cb2-1936-4c09-89d5-e5f60bb30425</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.