api/v1/orders/unbar

Method: POST https://developers.mobilemanager.co.uk/api/v1/orders/unbar?simId={simId}

Summary

Create a UnBAR order to unsuspend a SIM

Request Information

URI Parameters

NameDescriptionTypeAdditional information
simId

The unique SIM id that's been requested to remove the BAR from

globally unique identifier

Required

Body Parameters

This model contains all of the information required to create a Unbar order

CreateOrderModel
NameDescriptionTypeAdditional information
Reason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Reason": "sample string 1"
}

application/xml, text/xml

Sample:
<CreateOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Models.Orders">
  <Reason>sample string 1</Reason>
</CreateOrderModel>

application/x-www-form-urlencoded

Sample:
Reason=samplestring

Response Information

Resource Description

OrderResponseModel
NameDescriptionTypeAdditional information
OrderId

globally unique identifier

None.

Created

date

None.

State

OrderState

None.

Response Formats

application/json, text/json

Sample:
{
  "OrderId": "3f97f701-b8cf-4394-b755-a86da24f45ed",
  "Created": "2024-11-18T19:24:41.9666195+00:00",
  "State": 0
}

application/xml, text/xml

Sample:
<OrderResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Models.Orders" />