POST api/Employers/UpdateEmployer
Request Information
URI Parameters
None.
Body Parameters
UpdateeEmployerBindingModels| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| name | string |
Required |
|
| registration_number | string |
Required |
|
| industry | string |
Required |
|
| pic_name | string |
Required |
|
| pic_number | string |
Required |
|
| website | string |
Required |
|
| anonymous | boolean |
Required |
|
| dress_code | string |
Required |
|
| company_size | string |
Required |
|
| working_hour_start | string |
Required |
|
| working_hour_end | string |
Required |
|
| spoken_language | integer |
Required |
|
| company_overview | string |
Required |
|
| company_address_line_1 | string |
Required |
|
| company_address_line_2 | string |
None. |
|
| company_address_town | string |
Required |
|
| company_address_postcode | string |
Required |
|
| company_address_state | string |
Required |
|
| company_address_country_id | integer |
Required |
|
| company_address_latitude | decimal number |
Required |
|
| company_address_longitude | decimal number |
Required |
|
| company_banner | string |
None. |
|
| company_profile | string |
None. |
|
| company_gallery | Collection of string |
None. |
|
| login_email | string |
None. |
|
| current_password | string |
None. |
|
| login_password | string |
None. |
|
| confirm_password | string |
Data type: Password |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"registration_number": "sample string 3",
"industry": "sample string 4",
"pic_name": "sample string 5",
"pic_number": "sample string 6",
"website": "sample string 7",
"anonymous": true,
"dress_code": "sample string 9",
"company_size": "sample string 10",
"working_hour_start": "sample string 11",
"working_hour_end": "sample string 12",
"spoken_language": 13,
"company_overview": "sample string 14",
"company_address_line_1": "sample string 15",
"company_address_line_2": "sample string 16",
"company_address_town": "sample string 17",
"company_address_postcode": "sample string 18",
"company_address_state": "sample string 19",
"company_address_country_id": 20,
"company_address_latitude": 21.0,
"company_address_longitude": 22.0,
"company_banner": "sample string 23",
"company_profile": "sample string 24",
"company_gallery": [
"sample string 1",
"sample string 2"
],
"login_email": "sample string 25",
"current_password": "sample string 26",
"login_password": "sample string 27",
"confirm_password": "sample string 28"
}
application/xml, text/xml
Sample:
<UpdateeEmployerBindingModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DreamfillAdministrator.Models">
<anonymous>true</anonymous>
<company_address_country_id>20</company_address_country_id>
<company_address_latitude>21</company_address_latitude>
<company_address_line_1>sample string 15</company_address_line_1>
<company_address_line_2>sample string 16</company_address_line_2>
<company_address_longitude>22</company_address_longitude>
<company_address_postcode>sample string 18</company_address_postcode>
<company_address_state>sample string 19</company_address_state>
<company_address_town>sample string 17</company_address_town>
<company_banner>sample string 23</company_banner>
<company_gallery xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</company_gallery>
<company_overview>sample string 14</company_overview>
<company_profile>sample string 24</company_profile>
<company_size>sample string 10</company_size>
<confirm_password>sample string 28</confirm_password>
<current_password>sample string 26</current_password>
<dress_code>sample string 9</dress_code>
<id>1</id>
<industry>sample string 4</industry>
<login_email>sample string 25</login_email>
<login_password>sample string 27</login_password>
<name>sample string 2</name>
<pic_name>sample string 5</pic_name>
<pic_number>sample string 6</pic_number>
<registration_number>sample string 3</registration_number>
<spoken_language>13</spoken_language>
<website>sample string 7</website>
<working_hour_end>sample string 12</working_hour_end>
<working_hour_start>sample string 11</working_hour_start>
</UpdateeEmployerBindingModels>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />