POST aep/APP_createOrder_SBO/v1

Request Information

URI Parameters

None.

Body Parameters

CreateOrderRequest
NameDescriptionTypeAdditional information
accessToken

string

None.

includeCard

integer

None.

is_Refuel

integer

None.

dataBundleId

string

None.

quantity

integer

None.

ICCID

string

None.

transactionCode

string

None.

thirdOrderId

string

None.

setActiveTime

string

None.

Request Formats

application/json, text/json

Sample:
{
  "accessToken": "sample string 1",
  "includeCard": 2,
  "is_Refuel": 3,
  "dataBundleId": "sample string 4",
  "quantity": 5,
  "ICCID": "sample string 6",
  "transactionCode": "sample string 7",
  "thirdOrderId": "sample string 8",
  "setActiveTime": "sample string 9"
}

text/html

Sample:
{"accessToken":"sample string 1","includeCard":2,"is_Refuel":3,"dataBundleId":"sample string 4","quantity":5,"ICCID":"sample string 6","transactionCode":"sample string 7","thirdOrderId":"sample string 8","setActiveTime":"sample string 9"}

application/xml, text/xml

Sample:
<CreateOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <ICCID>sample string 6</ICCID>
  <accessToken>sample string 1</accessToken>
  <dataBundleId>sample string 4</dataBundleId>
  <includeCard>2</includeCard>
  <is_Refuel>3</is_Refuel>
  <quantity>5</quantity>
  <setActiveTime>sample string 9</setActiveTime>
  <thirdOrderId>sample string 8</thirdOrderId>
  <transactionCode>sample string 7</transactionCode>
</CreateOrderRequest>

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 'CreateOrderRequest'.

Response Information

Resource Description

CreateOrderResponse
NameDescriptionTypeAdditional information
code

string

None.

description

string

None.

orderID

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "description": "sample string 2",
  "orderID": "sample string 3"
}

text/html

Sample:
{"code":"sample string 1","description":"sample string 2","orderID":"sample string 3"}

application/xml, text/xml

Sample:
<CreateOrderResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <code>sample string 1</code>
  <description>sample string 2</description>
  <orderID>sample string 3</orderID>
</CreateOrderResponse>