Update Employee Address
POST
/empeo/api/v1/employees/addressAll fields that have tag 'Required' and 'Nullable' is mean that field required only when adding data, If update data that field is nullable
Request
Header Params
Content-Type
string
required
Accepted value: application/json
Example:
application/json
Ocp-Apim-Subscription-Key
string
required
Api subscription key get from the OpenAPI integration setting page
Example:
WPe123a9RKbcfLQNSztr45
Authorization
string
required
Authorization credential utilized in API requests
Example:
bearer {token}
Body Params application/json
employeeRefId
string
required
Employee No
companyName
string
required
Employee company name
address
string
required
Address of the employee
subdistrict
string
required
Employee subdistrict
districtName
string
required
Employee district
provinceName
string
required
Employee province
postalCode
string
required
Postal code
Example
{
"employeeRefId": "23003",
"companyName": "empeo Dev Test",
"address": "30/88 Chetsadavithi Road",
"subdistrict": "Khok Kham",
"districtName": "Muang samut sakhon",
"provinceName": "Samut sakhon",
"postalCode": "74000"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"statusCode": 200,
"message": "OK",
"data": {
"message": "Update successfully",
"result": true
}
}
Last modified: a year ago