POST api/BOProfile/getAddEditBusinessHours

Request Information

URI Parameters

None.

Body Parameters

BusinessHoursReqModel
NameDescriptionTypeAdditional information
days

Collection of DayData

None.

isOutsideSetTime

integer

None.

all_Business_Hours

integer

None.

flag

integer

None.

serviceid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "days": [
    {
      "day": "sample string 1",
      "StartingTime": "sample string 2",
      "EndingTime": "sample string 3"
    },
    {
      "day": "sample string 1",
      "StartingTime": "sample string 2",
      "EndingTime": "sample string 3"
    }
  ],
  "isOutsideSetTime": 3,
  "all_Business_Hours": 4,
  "flag": 5,
  "serviceid": 7
}

application/xml, text/xml

Sample:
<BusinessHoursReqModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <BusinessId>1</BusinessId>
  <Err>6</Err>
  <Userid>2</Userid>
  <all_Business_Hours>4</all_Business_Hours>
  <days>
    <DayData>
      <EndingTime>sample string 3</EndingTime>
      <StartingTime>sample string 2</StartingTime>
      <day>sample string 1</day>
    </DayData>
    <DayData>
      <EndingTime>sample string 3</EndingTime>
      <StartingTime>sample string 2</StartingTime>
      <day>sample string 1</day>
    </DayData>
  </days>
  <flag>5</flag>
  <isOutsideSetTime>3</isOutsideSetTime>
  <serviceid>7</serviceid>
</BusinessHoursReqModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2020/07/31 21:35:16",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>