POST api/Visitor/AddNewEmployee

Request Information

URI Parameters

None.

Body Parameters

AddNewEmployee
NameDescriptionTypeAdditional information
BusinessID

integer

None.

JobTitle

string

None.

fName

string

None.

Email

string

None.

Mobile

string

None.

Department

string

None.

Address1

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessID": 1,
  "JobTitle": "sample string 2",
  "fName": "sample string 3",
  "Email": "sample string 4",
  "Mobile": "sample string 5",
  "Department": "sample string 6",
  "Address1": "sample string 7"
}

application/xml, text/xml

Sample:
<AddNewEmployee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <Address1>sample string 7</Address1>
  <BusinessID>1</BusinessID>
  <Department>sample string 6</Department>
  <Email>sample string 4</Email>
  <JobTitle>sample string 2</JobTitle>
  <Mobile>sample string 5</Mobile>
  <fName>sample string 3</fName>
</AddNewEmployee>

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/10/22 07:00:17",
  "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>