api/v1/orders/fullbar
Method: POST https://simportal-api-staging.azurewebsites.net/api/v1/orders/fullbar?simId={simId}
Summary
Create a Full Bar order which temporarily suspends and stops GPRS traffic on the given SIM, calls and messaging. O2 and Vodafone SIMs only (not LP-WAN).
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
simId |
The unique SIM id that's been requested to be suspended |
globally unique identifier |
Required |
Body Parameters
This model contains all of the information required to create a Bar order
CreateOrderModelName | Description | Type | Additional 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
OrderResponseModelName | Description | Type | Additional information |
---|---|---|---|
OrderId | globally unique identifier |
None. |
|
Created | date |
None. |
|
State | OrderState |
None. |
Response Formats
application/json, text/json
Sample:
{ "OrderId": "5ef1ea31-ae7f-4630-88c3-13ae189c4320", "Created": "2024-11-21T10:50:23.9638253+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" />