api/v1/orders/bolton
Method: POST https://developers.mobilemanager.co.uk/api/v1/orders/bolton?simId={simId}
Summary
Create a Bolt-On order for the given SIM
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
simId |
The unique SIM id that's been requested for a Bolt-On |
globally unique identifier |
Required |
Body Parameters
This model contains all of the information required to create a SIM Bolton order
CreateBoltonOrderModelName | Description | Type | Additional information |
---|---|---|---|
BoltonId | globally unique identifier |
None. |
|
EndDate | date |
None. |
|
Reason | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "BoltonId": "6a0b84fc-c9a9-4988-a911-927f3f4cd648", "EndDate": "2024-11-18T19:24:15.085986+00:00", "Reason": "sample string 2" }
application/xml, text/xml
Sample:
<CreateBoltonOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Models.Orders"> <Reason>sample string 2</Reason> <BoltonId>6a0b84fc-c9a9-4988-a911-927f3f4cd648</BoltonId> <EndDate>2024-11-18T19:24:15.085986+00:00</EndDate> </CreateBoltonOrderModel>
application/x-www-form-urlencoded
Sample:
BoltonId=a1234567-gu1d-3x4m-pl31-e1f2g12345678&EndDate=value&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": "e249b6d9-10ad-4932-98fd-ed4eb4510433", "Created": "2024-11-18T19:24:15.1053012+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" />