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

NameDescriptionTypeAdditional 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

CreateBoltonOrderModel
NameDescriptionTypeAdditional information
BoltonId

globally unique identifier

None.

EndDate

date

None.

Reason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BoltonId": "5c226ccf-d387-45e1-aaa3-0ec22de6c441",
  "EndDate": "2024-05-17T08:57:15.2306665+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>5c226ccf-d387-45e1-aaa3-0ec22de6c441</BoltonId>
  <EndDate>2024-05-17T08:57:15.2306665+00:00</EndDate>
</CreateBoltonOrderModel>

application/x-www-form-urlencoded

Sample:
BoltonId=a1234567-gu1d-3x4m-pl31-e1f2g12345678&EndDate=value&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": "8e554a04-13d3-4267-999a-72c6dfb2f034",
  "Created": "2024-05-17T08:57:15.2462922+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" />