POST api/AddAddressForEmployee
Request Information
URI Parameters
None.
Body Parameters
SvcAddAddressMDL| Name | Description | Type | Additional information |
|---|---|---|---|
| AddressType | integer |
None. |
|
| AddressOfLocation | string |
None. |
|
| DisplayName | string |
None. |
|
| AddressLat | string |
None. |
|
| AddressLong | string |
None. |
|
| FK_CompanyId | integer |
None. |
|
| FK_EmployeeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AddressType": 1,
"AddressOfLocation": "sample string 2",
"DisplayName": "sample string 3",
"AddressLat": "sample string 4",
"AddressLong": "sample string 5",
"FK_CompanyId": 6,
"FK_EmployeeId": 7
}
application/xml, text/xml
Sample:
<SvcAddAddressMDL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL"> <AddressLat>sample string 4</AddressLat> <AddressLong>sample string 5</AddressLong> <AddressOfLocation>sample string 2</AddressOfLocation> <AddressType>1</AddressType> <DisplayName>sample string 3</DisplayName> <FK_CompanyId>6</FK_CompanyId> <FK_EmployeeId>7</FK_EmployeeId> </SvcAddAddressMDL>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResultOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Description | string |
None. |
|
| Result | boolean |
None. |
|
| Data | string |
None. |
|
| status | integer |
None. |
|
| TotalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Description": "sample string 2",
"Result": true,
"Data": "sample string 4",
"status": 5,
"TotalCount": 6
}
application/xml, text/xml
Sample:
<ServiceResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.FTSServices"> <Data>sample string 4</Data> <Description>sample string 2</Description> <Message>sample string 1</Message> <Result>true</Result> <TotalCount>6</TotalCount> <status>5</status> </ServiceResultOfstring>