POST api/Client/SetCompanyEmployee
Request Information
URI Parameters
None.
Body Parameters
RequestSetCompanyEmployee| Name | Description | Type | Additional information |
|---|---|---|---|
| RequestID | integer |
Required Range: inclusive between 0 and 999999999 |
|
| CompanyName | string |
Required String length: inclusive between 0 and 100 |
|
| CompanyNit | string |
Required String length: inclusive between 0 and 50 |
|
| IdCity | integer |
Required Range: inclusive between 0 and 9999 |
|
| CompanyAddress | string |
Required String length: inclusive between 0 and 250 |
|
| CompanyEmail | string |
Required |
|
| CompanyPhoneNumber | string |
Required Matching regular expression pattern: ^(\d{10})$ |
|
| EmployeeArea | string |
Required String length: inclusive between 0 and 100 |
|
| EmployeePosition | string |
Required String length: inclusive between 0 and 100 |
Request Formats
application/json, text/json
Sample:
{
"RequestID": 1,
"CompanyName": "sample string 2",
"CompanyNit": "sample string 3",
"IdCity": 4,
"CompanyAddress": "sample string 5",
"CompanyEmail": "sample string 6",
"CompanyPhoneNumber": "sample string 7",
"EmployeeArea": "sample string 8",
"EmployeePosition": "sample string 9"
}
application/xml, text/xml
Sample:
<RequestSetCompanyEmployee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECD.WebAPIECD.Models.AppMovil"> <CompanyAddress>sample string 5</CompanyAddress> <CompanyEmail>sample string 6</CompanyEmail> <CompanyName>sample string 2</CompanyName> <CompanyNit>sample string 3</CompanyNit> <CompanyPhoneNumber>sample string 7</CompanyPhoneNumber> <EmployeeArea>sample string 8</EmployeeArea> <EmployeePosition>sample string 9</EmployeePosition> <IdCity>4</IdCity> <RequestID>1</RequestID> </RequestSetCompanyEmployee>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.