POST api/Bargain

Request Information

URI Parameters

None.

Body Parameters

Bargain
NameDescriptionTypeAdditional information
statusCode

integer

None.

message

string

None.

Data

Booking

None.

Request Formats

application/json, text/json

Sample:
{
  "statusCode": 1,
  "message": "sample string 2",
  "data": {
    "customer": "sample string 1",
    "customID": "sample string 2",
    "_id": "sample string 3",
    "currentStatus": "sample string 4",
    "taxAmount": 5.1,
    "bookingAmount": 6.1,
    "totalPaidPrice": 7.1,
    "wheelItem": {
      "wheelPrice": 1.1,
      "wheelName": "sample string 2"
    },
    "servicesUpdate": [
      {
        "productID": "sample string 1",
        "productPrice": 2.1,
        "originalPrice": 3.1,
        "quantity": 4,
        "_id": "sample string 5",
        "productName": "sample string 6"
      },
      {
        "productID": "sample string 1",
        "productPrice": 2.1,
        "originalPrice": 3.1,
        "quantity": 4,
        "_id": "sample string 5",
        "productName": "sample string 6"
      }
    ],
    "services": [
      {
        "productID": "sample string 1",
        "productPrice": 2.1,
        "originalPrice": 3.1,
        "quantity": 4,
        "_id": "sample string 5",
        "productName": "sample string 6"
      },
      {
        "productID": "sample string 1",
        "productPrice": 2.1,
        "originalPrice": 3.1,
        "quantity": 4,
        "_id": "sample string 5",
        "productName": "sample string 6"
      }
    ],
    "table_number": 8
  }
}

text/html

Sample:
{"statusCode":1,"message":"sample string 2","data":{"customer":"sample string 1","customID":"sample string 2","_id":"sample string 3","currentStatus":"sample string 4","taxAmount":5.1,"bookingAmount":6.1,"totalPaidPrice":7.1,"wheelItem":{"wheelPrice":1.1,"wheelName":"sample string 2"},"servicesUpdate":[{"productID":"sample string 1","productPrice":2.1,"originalPrice":3.1,"quantity":4,"_id":"sample string 5","productName":"sample string 6"},{"productID":"sample string 1","productPrice":2.1,"originalPrice":3.1,"quantity":4,"_id":"sample string 5","productName":"sample string 6"}],"services":[{"productID":"sample string 1","productPrice":2.1,"originalPrice":3.1,"quantity":4,"_id":"sample string 5","productName":"sample string 6"},{"productID":"sample string 1","productPrice":2.1,"originalPrice":3.1,"quantity":4,"_id":"sample string 5","productName":"sample string 6"}],"table_number":8}}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.