GET api/Vet/V1/Employers/Validate?empcode={empcode}&empname={empname}&username={username}&email={email}&abn={abn}

Validate if the provided employer information is matching to any existing data or not by provided QUERY String.
The combination of 2 mathcing fields are required.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
empcode

Employer code

string

None.

empname

Employer legal name

string

None.

username

Username that use to login to RTOManager system

string

None.

email

Contact email address

string

None.

abn

Company ABN number

string

None.

Body Parameters

None.

Response Information

Resource Description

ValidationResponse object

ValidationResponse
NameDescriptionTypeAdditional information
IsValid

True/False identification

boolean

None.

Message

Response text

string

None.

ReferenceId

If 'IsValid' id true, ReferenceId will be unique Id representing the person validated. Default is empty.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsValid": true,
  "Message": "sample string 2",
  "ReferenceId": "sample string 3"
}

application/xml, text/xml

Sample:
<ValidationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DotEdu_WebAPI.Code.Utility">
  <IsValid>true</IsValid>
  <Message>sample string 2</Message>
  <ReferenceId>sample string 3</ReferenceId>
</ValidationResponse>