POST api/Registration_Approval/UPDATE_GP_DRIVER_DATA

Request Information

URI Parameters

None.

Body Parameters

Registration_Approval
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.

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_ACCOUNTANT

string

None.

ACC_HOLDER_NAME

string

None.

REJECTION_REASON

string

None.

edit

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",
  "ACCOUNTANT_ADDRESS": "sample string 24",
  "ACCOUNTANT_PHONE_NO": "sample string 25",
  "ACCOUNTANT_EMAILS": "sample string 26",
  "PUBLIC_LIABILITY_INSURANCE": "sample string 27",
  "EXPIRY_DATE": "sample string 28",
  "HAS_CORP_TAX_UTR_NO": "sample string 29",
  "CORP_TAX_UTR_NO": "sample string 30",
  "HAS_PAYE_REF_NO": "sample string 31",
  "PAYE_REF_NO": "sample string 32",
  "HAS_ACCOUNTANT": "sample string 33",
  "ACC_HOLDER_NAME": "sample string 34",
  "REJECTION_REASON": "sample string 35",
  "edit": "sample string 36"
}

application/xml, text/xml

Sample:
<Registration_Approval xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HGVDG_API.Controllers.Registration">
  <ACCOUNTANT_ADDRESS>sample string 24</ACCOUNTANT_ADDRESS>
  <ACCOUNTANT_EMAILS>sample string 26</ACCOUNTANT_EMAILS>
  <ACCOUNTANT_PHONE_NO>sample string 25</ACCOUNTANT_PHONE_NO>
  <ACCOUNT_NUMBER>sample string 20</ACCOUNT_NUMBER>
  <ACC_HOLDER_NAME>sample string 34</ACC_HOLDER_NAME>
  <ACOUNTANT_NAME>sample string 23</ACOUNTANT_NAME>
  <ACTION>sample string 16</ACTION>
  <BANK_NAME>sample string 18</BANK_NAME>
  <BANK_SORT_CODE>sample string 19</BANK_SORT_CODE>
  <COMPANY_NAME>sample string 11</COMPANY_NAME>
  <CORP_TAX_UTR_NO>sample string 30</CORP_TAX_UTR_NO>
  <DOB>sample string 10</DOB>
  <DRIVING_LICENSE>sample string 14</DRIVING_LICENSE>
  <EMAIL>sample string 6</EMAIL>
  <ENGAGEMENT_ID>sample string 17</ENGAGEMENT_ID>
  <EXPIRY_DATE>sample string 28</EXPIRY_DATE>
  <FIRST_NAME>sample string 3</FIRST_NAME>
  <HAS_ACCOUNTANT>sample string 33</HAS_ACCOUNTANT>
  <HAS_CORP_TAX_UTR_NO>sample string 29</HAS_CORP_TAX_UTR_NO>
  <HAS_PAYE_REF_NO>sample string 31</HAS_PAYE_REF_NO>
  <HIRER_ID>sample string 2</HIRER_ID>
  <IS_VAT_REGISTERED>sample string 21</IS_VAT_REGISTERED>
  <LAST_NAME>sample string 4</LAST_NAME>
  <NAME>sample string 15</NAME>
  <NATIONAL_INSURANCE_NO>sample string 12</NATIONAL_INSURANCE_NO>
  <PAYE_REF_NO>sample string 32</PAYE_REF_NO>
  <PHONE_NO>sample string 5</PHONE_NO>
  <POST_CODE>sample string 9</POST_CODE>
  <PUBLIC_LIABILITY_INSURANCE>sample string 27</PUBLIC_LIABILITY_INSURANCE>
  <REGISTRATION_ID>sample string 1</REGISTRATION_ID>
  <REGISTRATION_NUMBER>sample string 13</REGISTRATION_NUMBER>
  <REJECTION_REASON>sample string 35</REJECTION_REASON>
  <STREET_ADDRESS>sample string 7</STREET_ADDRESS>
  <TOWN>sample string 8</TOWN>
  <VAT_REG_NO>sample string 22</VAT_REG_NO>
  <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>
  <edit>sample string 36</edit>
</Registration_Approval>

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_Approval'.

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>