POST api/Registration/INSERT_DPS_DRIVER_DATA

Request Information

URI Parameters

None.

Body Parameters

Registration
NameDescriptionTypeAdditional information
details

Details

None.

REGISTRATION_ID

string

None.

HIRER_ID

string

None.

FIRST_NAME

string

None.

LAST_NAME

string

None.

PHONE_NO

string

None.

EMAIL

string

None.

STREET_ADDRESS

string

None.

TOWN

string

None.

POST_CODE

string

None.

DOB

string

None.

COMPANY_NAME

string

None.

NATIONAL_INSURANCE_NO

string

None.

REGISTRATION_NUMBER

string

None.

DRIVING_LICENSE

string

None.

NAME

string

None.

ACTION

string

None.

ENGAGEMENT_ID

string

None.

BANK_NAME

string

None.

BANK_SORT_CODE

string

None.

ACCOUNT_NUMBER

string

None.

IS_VAT_REGISTERED

string

None.

VAT_REG_NO

string

None.

ACOUNTANT_NAME

string

None.

GENDER

string

None.

ACCOUNTANT_ADDRESS

string

None.

ACCOUNTANT_PHONE_NO

string

None.

ACCOUNTANT_EMAILS

string

None.

PUBLIC_LIABILITY_INSURANCE

string

None.

EXPIRY_DATE

string

None.

HAS_CORP_TAX_UTR_NO

string

None.

CORP_TAX_UTR_NO

string

None.

HAS_PAYE_REF_NO

string

None.

PAYE_REF_NO

string

None.

HAS_CHANGED_NAME

string

None.

PREVIOUS_F_NAME

string

None.

PREVIOUS_L_NAME

string

None.

HAS_LIVED_THREE_YEAR

string

None.

IS_LTD_CO_SETUP

string

None.

PROPOSED_COMPANY_NAME

string

None.

IS_BANKRUPT

string

None.

IS_CLAIMING_UNIVERSAL_CREDIT

string

None.

BIRTH_TOWN

string

None.

MOTHER_MAIDEN_NAME

string

None.

HAS_ACCOUNTANT

string

None.

AGENCY_NAME

string

None.

WORK_START_DATE

string

None.

ACC_HOLDER_NAME

string

None.

PREVIOUS_STREET_ADDRESS

string

None.

PREVIOUS_TOWN

string

None.

PREVIOUS_POST_CODE

string

None.

COM_REGD_STREET_ADDRESS

string

None.

COM_REGD_POST_CODE

string

None.

COM_REGD_TOWN

string

None.

HAS_TAXPAYER_REFERENCE

string

None.

TAXPAYER_REFERENCE

string

None.

HAS_HMRC

string

None.

LOGIN_DETAILS

string

None.

HAS_AUTH_CODE

string

None.

COMP_AUTH_CODE

string

None.

PASSWORD

string

None.

SIGN

string

None.

DRIVER_ID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "details": {
    "formName": "sample string 1",
    "userId": "sample string 2"
  },
  "REGISTRATION_ID": "sample string 1",
  "HIRER_ID": "sample string 2",
  "FIRST_NAME": "sample string 3",
  "LAST_NAME": "sample string 4",
  "PHONE_NO": "sample string 5",
  "EMAIL": "sample string 6",
  "STREET_ADDRESS": "sample string 7",
  "TOWN": "sample string 8",
  "POST_CODE": "sample string 9",
  "DOB": "sample string 10",
  "COMPANY_NAME": "sample string 11",
  "NATIONAL_INSURANCE_NO": "sample string 12",
  "REGISTRATION_NUMBER": "sample string 13",
  "DRIVING_LICENSE": "sample string 14",
  "NAME": "sample string 15",
  "ACTION": "sample string 16",
  "ENGAGEMENT_ID": "sample string 17",
  "BANK_NAME": "sample string 18",
  "BANK_SORT_CODE": "sample string 19",
  "ACCOUNT_NUMBER": "sample string 20",
  "IS_VAT_REGISTERED": "sample string 21",
  "VAT_REG_NO": "sample string 22",
  "ACOUNTANT_NAME": "sample string 23",
  "GENDER": "sample string 24",
  "ACCOUNTANT_ADDRESS": "sample string 25",
  "ACCOUNTANT_PHONE_NO": "sample string 26",
  "ACCOUNTANT_EMAILS": "sample string 27",
  "PUBLIC_LIABILITY_INSURANCE": "sample string 28",
  "EXPIRY_DATE": "sample string 29",
  "HAS_CORP_TAX_UTR_NO": "sample string 30",
  "CORP_TAX_UTR_NO": "sample string 31",
  "HAS_PAYE_REF_NO": "sample string 32",
  "PAYE_REF_NO": "sample string 33",
  "HAS_CHANGED_NAME": "sample string 34",
  "PREVIOUS_F_NAME": "sample string 35",
  "PREVIOUS_L_NAME": "sample string 36",
  "HAS_LIVED_THREE_YEAR": "sample string 37",
  "IS_LTD_CO_SETUP": "sample string 38",
  "PROPOSED_COMPANY_NAME": "sample string 39",
  "IS_BANKRUPT": "sample string 40",
  "IS_CLAIMING_UNIVERSAL_CREDIT": "sample string 41",
  "BIRTH_TOWN": "sample string 42",
  "MOTHER_MAIDEN_NAME": "sample string 43",
  "HAS_ACCOUNTANT": "sample string 44",
  "AGENCY_NAME": "sample string 45",
  "WORK_START_DATE": "sample string 46",
  "ACC_HOLDER_NAME": "sample string 47",
  "PREVIOUS_STREET_ADDRESS": "sample string 48",
  "PREVIOUS_TOWN": "sample string 49",
  "PREVIOUS_POST_CODE": "sample string 50",
  "COM_REGD_STREET_ADDRESS": "sample string 51",
  "COM_REGD_POST_CODE": "sample string 52",
  "COM_REGD_TOWN": "sample string 53",
  "HAS_TAXPAYER_REFERENCE": "sample string 54",
  "TAXPAYER_REFERENCE": "sample string 55",
  "HAS_HMRC": "sample string 56",
  "LOGIN_DETAILS": "sample string 57",
  "HAS_AUTH_CODE": "sample string 58",
  "COMP_AUTH_CODE": "sample string 59",
  "PASSWORD": "sample string 60",
  "SIGN": "sample string 61",
  "DRIVER_ID": "sample string 62"
}

application/xml, text/xml

Sample:
<Registration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HGVDG_API.Controllers.Registration">
  <ACCOUNTANT_ADDRESS>sample string 25</ACCOUNTANT_ADDRESS>
  <ACCOUNTANT_EMAILS>sample string 27</ACCOUNTANT_EMAILS>
  <ACCOUNTANT_PHONE_NO>sample string 26</ACCOUNTANT_PHONE_NO>
  <ACCOUNT_NUMBER>sample string 20</ACCOUNT_NUMBER>
  <ACC_HOLDER_NAME>sample string 47</ACC_HOLDER_NAME>
  <ACOUNTANT_NAME>sample string 23</ACOUNTANT_NAME>
  <ACTION>sample string 16</ACTION>
  <AGENCY_NAME>sample string 45</AGENCY_NAME>
  <BANK_NAME>sample string 18</BANK_NAME>
  <BANK_SORT_CODE>sample string 19</BANK_SORT_CODE>
  <BIRTH_TOWN>sample string 42</BIRTH_TOWN>
  <COMPANY_NAME>sample string 11</COMPANY_NAME>
  <COMP_AUTH_CODE>sample string 59</COMP_AUTH_CODE>
  <COM_REGD_POST_CODE>sample string 52</COM_REGD_POST_CODE>
  <COM_REGD_STREET_ADDRESS>sample string 51</COM_REGD_STREET_ADDRESS>
  <COM_REGD_TOWN>sample string 53</COM_REGD_TOWN>
  <CORP_TAX_UTR_NO>sample string 31</CORP_TAX_UTR_NO>
  <DOB>sample string 10</DOB>
  <DRIVER_ID>sample string 62</DRIVER_ID>
  <DRIVING_LICENSE>sample string 14</DRIVING_LICENSE>
  <EMAIL>sample string 6</EMAIL>
  <ENGAGEMENT_ID>sample string 17</ENGAGEMENT_ID>
  <EXPIRY_DATE>sample string 29</EXPIRY_DATE>
  <FIRST_NAME>sample string 3</FIRST_NAME>
  <GENDER>sample string 24</GENDER>
  <HAS_ACCOUNTANT>sample string 44</HAS_ACCOUNTANT>
  <HAS_AUTH_CODE>sample string 58</HAS_AUTH_CODE>
  <HAS_CHANGED_NAME>sample string 34</HAS_CHANGED_NAME>
  <HAS_CORP_TAX_UTR_NO>sample string 30</HAS_CORP_TAX_UTR_NO>
  <HAS_HMRC>sample string 56</HAS_HMRC>
  <HAS_LIVED_THREE_YEAR>sample string 37</HAS_LIVED_THREE_YEAR>
  <HAS_PAYE_REF_NO>sample string 32</HAS_PAYE_REF_NO>
  <HAS_TAXPAYER_REFERENCE>sample string 54</HAS_TAXPAYER_REFERENCE>
  <HIRER_ID>sample string 2</HIRER_ID>
  <IS_BANKRUPT>sample string 40</IS_BANKRUPT>
  <IS_CLAIMING_UNIVERSAL_CREDIT>sample string 41</IS_CLAIMING_UNIVERSAL_CREDIT>
  <IS_LTD_CO_SETUP>sample string 38</IS_LTD_CO_SETUP>
  <IS_VAT_REGISTERED>sample string 21</IS_VAT_REGISTERED>
  <LAST_NAME>sample string 4</LAST_NAME>
  <LOGIN_DETAILS>sample string 57</LOGIN_DETAILS>
  <MOTHER_MAIDEN_NAME>sample string 43</MOTHER_MAIDEN_NAME>
  <NAME>sample string 15</NAME>
  <NATIONAL_INSURANCE_NO>sample string 12</NATIONAL_INSURANCE_NO>
  <PASSWORD>sample string 60</PASSWORD>
  <PAYE_REF_NO>sample string 33</PAYE_REF_NO>
  <PHONE_NO>sample string 5</PHONE_NO>
  <POST_CODE>sample string 9</POST_CODE>
  <PREVIOUS_F_NAME>sample string 35</PREVIOUS_F_NAME>
  <PREVIOUS_L_NAME>sample string 36</PREVIOUS_L_NAME>
  <PREVIOUS_POST_CODE>sample string 50</PREVIOUS_POST_CODE>
  <PREVIOUS_STREET_ADDRESS>sample string 48</PREVIOUS_STREET_ADDRESS>
  <PREVIOUS_TOWN>sample string 49</PREVIOUS_TOWN>
  <PROPOSED_COMPANY_NAME>sample string 39</PROPOSED_COMPANY_NAME>
  <PUBLIC_LIABILITY_INSURANCE>sample string 28</PUBLIC_LIABILITY_INSURANCE>
  <REGISTRATION_ID>sample string 1</REGISTRATION_ID>
  <REGISTRATION_NUMBER>sample string 13</REGISTRATION_NUMBER>
  <SIGN>sample string 61</SIGN>
  <STREET_ADDRESS>sample string 7</STREET_ADDRESS>
  <TAXPAYER_REFERENCE>sample string 55</TAXPAYER_REFERENCE>
  <TOWN>sample string 8</TOWN>
  <VAT_REG_NO>sample string 22</VAT_REG_NO>
  <WORK_START_DATE>sample string 46</WORK_START_DATE>
  <details xmlns:d2p1="http://schemas.datacontract.org/2004/07/HGVDG_API">
    <d2p1:formName>sample string 1</d2p1:formName>
    <d2p1:userId>sample string 2</d2p1:userId>
  </details>
</Registration>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Registration'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>