POST api/Billing/Canteen/save?corpId={corpId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
corpId

string

Required

Body Parameters

Canteen
NameDescriptionTypeAdditional information
Id

string

None.

Name

string

None.

Address

string

None.

Sections

Collection of Section

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "name": "sample string 2",
  "address": "sample string 3",
  "sections": [
    {
      "id": "sample string 1",
      "name": "sample string 2",
      "beginTime": "sample string 3",
      "endTime": "sample string 4",
      "across": true,
      "limitTotal": 6.1,
      "limitNumber": 7,
      "isReserve": true
    },
    {
      "id": "sample string 1",
      "name": "sample string 2",
      "beginTime": "sample string 3",
      "endTime": "sample string 4",
      "across": true,
      "limitTotal": 6.1,
      "limitNumber": 7,
      "isReserve": true
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}