POST v1/authication/register

Request Information

URI Parameters

None.

Body Parameters

registerRequest
NameDescriptionTypeAdditional information
surname

string

None.

othernames

string

None.

emailAddress

string

None.

roleCode

string

None.

isAdmin

boolean

None.

canGetAlert

boolean

None.

canLogin

boolean

None.

state

string

None.

lga

string

None.

Request Formats

application/json, text/json

Sample:
{
  "surname": "sample string 1",
  "othernames": "sample string 2",
  "emailAddress": "sample string 3",
  "roleCode": "sample string 4",
  "isAdmin": true,
  "canGetAlert": true,
  "canLogin": true,
  "state": "sample string 8",
  "lga": "sample string 9"
}

application/xml, text/xml

Sample:
<registerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ntblcpEWORS.Models.register">
  <canGetAlert>true</canGetAlert>
  <canLogin>true</canLogin>
  <emailAddress>sample string 3</emailAddress>
  <isAdmin>true</isAdmin>
  <lga>sample string 9</lga>
  <othernames>sample string 2</othernames>
  <roleCode>sample string 4</roleCode>
  <state>sample string 8</state>
  <surname>sample string 1</surname>
</registerRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

registerResult
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

errorMsg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "errorMsg": "sample string 3"
}

application/xml, text/xml

Sample:
<registerResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ntblcpEWORS.Models.register">
  <errorMsg>sample string 3</errorMsg>
  <message>sample string 2</message>
  <success>true</success>
</registerResult>