POST Suppliapi/userLogin/UpdateEmployee

Request Information

URI Parameters

None.

Body Parameters

vw_employees
NameDescriptionTypeAdditional information
employeeNumber

string

None.

employeeTypeId

integer

None.

employeeTypeName

string

None.

name

string

None.

lastName

string

None.

email

string

None.

emailAlt

string

None.

contactGenderId

integer

None.

contactGender

string

None.

contactPhoneTypeId

integer

None.

contactPhoneType

string

None.

PreferredContactAddressId

integer

None.

addressLine

string

None.

addressLine2

string

None.

addressLine3

string

None.

city

integer

None.

state

integer

None.

country

integer

None.

postalCode

string

None.

longitude

decimal number

None.

latitude

decimal number

None.

dateHire

date

None.

dateRelease

date

None.

docNumber

string

None.

userLoginId

integer

None.

userName

string

None.

userLoginRoleId

integer

None.

UserLoginRol

string

None.

rolcode

string

None.

contactId

integer

None.

accountId

integer

None.

managerId

integer

None.

employeeId

integer

None.

contactPhoneId

integer

None.

number

string

None.

tenantId

integer

None.

active

boolean

None.

isGuest

boolean

None.

modifyListPrice

boolean

None.

datebirthday

date

None.

image

string

None.

contactAddress_Name

string

None.

businessId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "employeeNumber": "sample string 1",
  "employeeTypeId": 1,
  "employeeTypeName": "sample string 2",
  "name": "sample string 3",
  "lastName": "sample string 4",
  "email": "sample string 5",
  "emailAlt": "sample string 6",
  "contactGenderId": 1,
  "contactGender": "sample string 7",
  "contactPhoneTypeId": 1,
  "contactPhoneType": "sample string 8",
  "PreferredContactAddressId": 1,
  "addressLine": "sample string 9",
  "addressLine2": "sample string 10",
  "addressLine3": "sample string 11",
  "city": 1,
  "state": 1,
  "country": 1,
  "postalCode": "sample string 12",
  "longitude": 1.1,
  "latitude": 1.1,
  "dateHire": "2021-04-11T03:37:07.348558-06:00",
  "dateRelease": "2021-04-11T03:37:07.3495563-06:00",
  "docNumber": "sample string 13",
  "userLoginId": 14,
  "userName": "sample string 15",
  "userLoginRoleId": 16,
  "UserLoginRol": "sample string 17",
  "rolcode": "sample string 18",
  "contactId": 19,
  "accountId": 1,
  "managerId": 1,
  "employeeId": 1,
  "contactPhoneId": 1,
  "number": "sample string 20",
  "tenantId": 21,
  "active": true,
  "isGuest": true,
  "modifyListPrice": true,
  "datebirthday": "2021-04-11T03:37:07.3505585-06:00",
  "image": "sample string 23",
  "contactAddress_Name": "sample string 24",
  "businessId": 1
}

application/xml, text/xml

Sample:
<vw_employees xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuppliModel">
  <PreferredContactAddressId>1</PreferredContactAddressId>
  <UserLoginRol>sample string 17</UserLoginRol>
  <accountId>1</accountId>
  <active>true</active>
  <addressLine>sample string 9</addressLine>
  <addressLine2>sample string 10</addressLine2>
  <addressLine3>sample string 11</addressLine3>
  <businessId>1</businessId>
  <city>1</city>
  <contactAddress_Name>sample string 24</contactAddress_Name>
  <contactGender>sample string 7</contactGender>
  <contactGenderId>1</contactGenderId>
  <contactId>19</contactId>
  <contactPhoneId>1</contactPhoneId>
  <contactPhoneType>sample string 8</contactPhoneType>
  <contactPhoneTypeId>1</contactPhoneTypeId>
  <country>1</country>
  <dateHire>2021-04-11T03:37:07.348558-06:00</dateHire>
  <dateRelease>2021-04-11T03:37:07.3495563-06:00</dateRelease>
  <datebirthday>2021-04-11T03:37:07.3505585-06:00</datebirthday>
  <docNumber>sample string 13</docNumber>
  <email>sample string 5</email>
  <emailAlt>sample string 6</emailAlt>
  <employeeId>1</employeeId>
  <employeeNumber>sample string 1</employeeNumber>
  <employeeTypeId>1</employeeTypeId>
  <employeeTypeName>sample string 2</employeeTypeName>
  <image>sample string 23</image>
  <isGuest>true</isGuest>
  <lastName>sample string 4</lastName>
  <latitude>1.1</latitude>
  <longitude>1.1</longitude>
  <managerId>1</managerId>
  <modifyListPrice>true</modifyListPrice>
  <name>sample string 3</name>
  <number>sample string 20</number>
  <postalCode>sample string 12</postalCode>
  <rolcode>sample string 18</rolcode>
  <state>1</state>
  <tenantId>21</tenantId>
  <userLoginId>14</userLoginId>
  <userLoginRoleId>16</userLoginRoleId>
  <userName>sample string 15</userName>
</vw_employees>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.