POST api/jobandnotice/RegisterAnExternalEmployer
Request Information
URI Parameters
None.
Body Parameters
ExternalEmployerInputDTOName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
ContactNumber | string |
None. |
|
ContactEmail | string |
None. |
|
Address | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "ContactNumber": "sample string 2", "ContactEmail": "sample string 3", "Address": "sample string 4" }
application/xml, text/xml
Sample:
<ExternalEmployerInputDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.ViewModels"> <Address>sample string 4</Address> <ContactEmail>sample string 3</ContactEmail> <ContactNumber>sample string 2</ContactNumber> <Name>sample string 1</Name> </ExternalEmployerInputDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ExternalEmployerName | Description | Type | Additional information |
---|---|---|---|
ID | globally unique identifier |
None. |
|
Name | string |
Required |
|
ContactNumber | string |
Required String length: inclusive between 0 and 20 |
|
ContactEmail | string |
String length: inclusive between 0 and 100 |
|
Address | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": "d06d68df-5acd-46c0-be2f-178a14b57c6d", "Name": "sample string 2", "ContactNumber": "sample string 3", "ContactEmail": "sample string 4", "Address": "sample string 5" }
application/xml
Sample:
text/xml
Sample: