POST api/BusinessBeatPlan/AddBeatPlan_Scout

Request Information

URI Parameters

None.

Body Parameters

AddBeatPlan_Scout
NameDescriptionTypeAdditional information
BusinessID

integer

None.

LoginUserID

integer

None.

AgentID

integer

None.

CustomerName

string

None.

CustomerID

integer

None.

CustomerPhone

string

None.

DayOfTheWeek

string

None.

PlanName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessID": 1,
  "LoginUserID": 2,
  "AgentID": 3,
  "CustomerName": "sample string 4",
  "CustomerID": 5,
  "CustomerPhone": "sample string 6",
  "DayOfTheWeek": "sample string 7",
  "PlanName": "sample string 8"
}

application/xml, text/xml

Sample:
<AddBeatPlan_Scout xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <AgentID>3</AgentID>
  <BusinessID>1</BusinessID>
  <CustomerID>5</CustomerID>
  <CustomerName>sample string 4</CustomerName>
  <CustomerPhone>sample string 6</CustomerPhone>
  <DayOfTheWeek>sample string 7</DayOfTheWeek>
  <LoginUserID>2</LoginUserID>
  <PlanName>sample string 8</PlanName>
</AddBeatPlan_Scout>

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

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": "2024/09/19 18:18:41",
  "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>