POST api/BSPSys/flight/markup

Request Information

URI Parameters

None.

Body Parameters

BSPMarkUpRequest
NameDescriptionTypeAdditional information
companyid

string

None.

platformsource

string

None.

routes

Collection of BSPRouteing

None.

isEnableCacheData

boolean

None.

logTrackGuid

string

None.

isToolTest

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "companyid": "sample string 1",
  "platformsource": "sample string 2",
  "routes": [
    {
      "sessionid": "sample string 1",
      "platingCarrier": "sample string 2",
      "fromsegments": [
        {
          "carrier": "sample string 1",
          "flightnumber": "sample string 2",
          "depairport": "sample string 3",
          "deptime": "sample string 4",
          "arrairport": "sample string 5",
          "arrtime": "sample string 6",
          "codeshare": 7,
          "farebasic": "sample string 8",
          "faretype": 9,
          "classs": "sample string 10",
          "cabin": "sample string 11",
          "segmentGroup": 12
        },
        {
          "carrier": "sample string 1",
          "flightnumber": "sample string 2",
          "depairport": "sample string 3",
          "deptime": "sample string 4",
          "arrairport": "sample string 5",
          "arrtime": "sample string 6",
          "codeshare": 7,
          "farebasic": "sample string 8",
          "faretype": 9,
          "classs": "sample string 10",
          "cabin": "sample string 11",
          "segmentGroup": 12
        }
      ],
      "retsegments": [
        {
          "carrier": "sample string 1",
          "flightnumber": "sample string 2",
          "depairport": "sample string 3",
          "deptime": "sample string 4",
          "arrairport": "sample string 5",
          "arrtime": "sample string 6",
          "codeshare": 7,
          "farebasic": "sample string 8",
          "faretype": 9,
          "classs": "sample string 10",
          "cabin": "sample string 11",
          "segmentGroup": 12
        },
        {
          "carrier": "sample string 1",
          "flightnumber": "sample string 2",
          "depairport": "sample string 3",
          "deptime": "sample string 4",
          "arrairport": "sample string 5",
          "arrtime": "sample string 6",
          "codeshare": 7,
          "farebasic": "sample string 8",
          "faretype": 9,
          "classs": "sample string 10",
          "cabin": "sample string 11",
          "segmentGroup": 12
        }
      ]
    },
    {
      "sessionid": "sample string 1",
      "platingCarrier": "sample string 2",
      "fromsegments": [
        {
          "carrier": "sample string 1",
          "flightnumber": "sample string 2",
          "depairport": "sample string 3",
          "deptime": "sample string 4",
          "arrairport": "sample string 5",
          "arrtime": "sample string 6",
          "codeshare": 7,
          "farebasic": "sample string 8",
          "faretype": 9,
          "classs": "sample string 10",
          "cabin": "sample string 11",
          "segmentGroup": 12
        },
        {
          "carrier": "sample string 1",
          "flightnumber": "sample string 2",
          "depairport": "sample string 3",
          "deptime": "sample string 4",
          "arrairport": "sample string 5",
          "arrtime": "sample string 6",
          "codeshare": 7,
          "farebasic": "sample string 8",
          "faretype": 9,
          "classs": "sample string 10",
          "cabin": "sample string 11",
          "segmentGroup": 12
        }
      ],
      "retsegments": [
        {
          "carrier": "sample string 1",
          "flightnumber": "sample string 2",
          "depairport": "sample string 3",
          "deptime": "sample string 4",
          "arrairport": "sample string 5",
          "arrtime": "sample string 6",
          "codeshare": 7,
          "farebasic": "sample string 8",
          "faretype": 9,
          "classs": "sample string 10",
          "cabin": "sample string 11",
          "segmentGroup": 12
        },
        {
          "carrier": "sample string 1",
          "flightnumber": "sample string 2",
          "depairport": "sample string 3",
          "deptime": "sample string 4",
          "arrairport": "sample string 5",
          "arrtime": "sample string 6",
          "codeshare": 7,
          "farebasic": "sample string 8",
          "faretype": 9,
          "classs": "sample string 10",
          "cabin": "sample string 11",
          "segmentGroup": 12
        }
      ]
    }
  ],
  "isEnableCacheData": true,
  "logTrackGuid": "sample string 4",
  "isToolTest": true
}

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

Response Information

Resource Description

ReturnResultOfBSPMarkUpResponse
NameDescriptionTypeAdditional information
data

BSPMarkUpResponse

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "companyid": "sample string 1",
    "platformsource": "sample string 2",
    "rules": [
      {
        "sessionid": "sample string 1",
        "ruleid": "sample string 2",
        "adultmarkuptype": "sample string 3",
        "adultmarkupvalue": "sample string 4",
        "adulttaxmarkuptype": "sample string 5",
        "adulttaxmarkupvalue": "sample string 6",
        "childmarkuptype": "sample string 7",
        "childmarkupvalue": "sample string 8",
        "childtaxmarkuptype": "sample string 9",
        "childtaxmarkupvalue": "sample string 10",
        "infantmarkuptype": "sample string 11",
        "infantmarkupvalue": "sample string 12",
        "infanttaxmarkuptype": "sample string 13",
        "infanttaxmarkupvalue": "sample string 14",
        "adultmarkupnote": "sample string 15",
        "childmarkupnote": "sample string 16",
        "isOverwrite": true,
        "priority": 18
      },
      {
        "sessionid": "sample string 1",
        "ruleid": "sample string 2",
        "adultmarkuptype": "sample string 3",
        "adultmarkupvalue": "sample string 4",
        "adulttaxmarkuptype": "sample string 5",
        "adulttaxmarkupvalue": "sample string 6",
        "childmarkuptype": "sample string 7",
        "childmarkupvalue": "sample string 8",
        "childtaxmarkuptype": "sample string 9",
        "childtaxmarkupvalue": "sample string 10",
        "infantmarkuptype": "sample string 11",
        "infantmarkupvalue": "sample string 12",
        "infanttaxmarkuptype": "sample string 13",
        "infanttaxmarkupvalue": "sample string 14",
        "adultmarkupnote": "sample string 15",
        "childmarkupnote": "sample string 16",
        "isOverwrite": true,
        "priority": 18
      }
    ],
    "pricingCacheKey": "sample string 3"
  },
  "code": 1,
  "message": "sample string 2"
}