POST api/Visitor/AddNewEmployee
Request Information
URI Parameters
None.
Body Parameters
AddNewEmployeeName | Description | Type | Additional information |
---|---|---|---|
BusinessID | integer |
None. |
|
JobTitle | string |
None. |
|
fName | string |
None. |
|
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:
Response Information
Resource Description
VCAPIResponseName | Description | Type | Additional 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": "2025/04/04 06:45:48", "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>