POST api/DriverProfile_App/profile-insert

Request Information

URI Parameters

None.

Body Parameters

DriverProfile_App
NameDescriptionTypeAdditional information
details

Details

None.

DRIVER_ID

string

None.

HIRER_ID

string

None.

DRIVING_EXP_SUMMARY

string

None.

HEAR_ABOUT_US

string

None.

REFERRED_DRIVER

string

None.

PHONE_NO

string

None.

EMAIL

string

None.

STREET_ADDRESS

string

None.

TOWN

string

None.

POST_CODE

string

None.

COMPANY_NAME

string

None.

VAT_FLAG

string

None.

VAT_REG_NO

string

None.

BANK_NAME

string

None.

BANK_SORT_CODE

string

None.

ACCOUNT_NUMBER

string

None.

ACCOUNTANT_NAME

string

None.

ACC_EMAIL

string

None.

ACC_ADDRESS

string

None.

ACC_PHONE_NO

string

None.

ACC_HOLDER_NAME

string

None.

FileContent

string

None.

FileName

string

None.

VISIBLE_TO

string

None.

Request Formats

application/json, text/json

Sample:
{
  "details": {
    "formName": "sample string 1",
    "userId": "sample string 2"
  },
  "DRIVER_ID": "sample string 1",
  "HIRER_ID": "sample string 2",
  "DRIVING_EXP_SUMMARY": "sample string 3",
  "HEAR_ABOUT_US": "sample string 4",
  "REFERRED_DRIVER": "sample string 5",
  "PHONE_NO": "sample string 6",
  "EMAIL": "sample string 7",
  "STREET_ADDRESS": "sample string 8",
  "TOWN": "sample string 9",
  "POST_CODE": "sample string 10",
  "COMPANY_NAME": "sample string 11",
  "VAT_FLAG": "sample string 12",
  "VAT_REG_NO": "sample string 13",
  "BANK_NAME": "sample string 14",
  "BANK_SORT_CODE": "sample string 15",
  "ACCOUNT_NUMBER": "sample string 16",
  "ACCOUNTANT_NAME": "sample string 17",
  "ACC_EMAIL": "sample string 18",
  "ACC_ADDRESS": "sample string 19",
  "ACC_PHONE_NO": "sample string 20",
  "ACC_HOLDER_NAME": "sample string 21",
  "FileContent": "sample string 22",
  "FileName": "sample string 23",
  "VISIBLE_TO": "sample string 24"
}

application/xml, text/xml

Sample:
<DriverProfile_App xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HGVDG_API.Controllers.Driver">
  <ACCOUNTANT_NAME>sample string 17</ACCOUNTANT_NAME>
  <ACCOUNT_NUMBER>sample string 16</ACCOUNT_NUMBER>
  <ACC_ADDRESS>sample string 19</ACC_ADDRESS>
  <ACC_EMAIL>sample string 18</ACC_EMAIL>
  <ACC_HOLDER_NAME>sample string 21</ACC_HOLDER_NAME>
  <ACC_PHONE_NO>sample string 20</ACC_PHONE_NO>
  <BANK_NAME>sample string 14</BANK_NAME>
  <BANK_SORT_CODE>sample string 15</BANK_SORT_CODE>
  <COMPANY_NAME>sample string 11</COMPANY_NAME>
  <DRIVER_ID>sample string 1</DRIVER_ID>
  <DRIVING_EXP_SUMMARY>sample string 3</DRIVING_EXP_SUMMARY>
  <EMAIL>sample string 7</EMAIL>
  <FileContent>sample string 22</FileContent>
  <FileName>sample string 23</FileName>
  <HEAR_ABOUT_US>sample string 4</HEAR_ABOUT_US>
  <HIRER_ID>sample string 2</HIRER_ID>
  <PHONE_NO>sample string 6</PHONE_NO>
  <POST_CODE>sample string 10</POST_CODE>
  <REFERRED_DRIVER>sample string 5</REFERRED_DRIVER>
  <STREET_ADDRESS>sample string 8</STREET_ADDRESS>
  <TOWN>sample string 9</TOWN>
  <VAT_FLAG>sample string 12</VAT_FLAG>
  <VAT_REG_NO>sample string 13</VAT_REG_NO>
  <VISIBLE_TO>sample string 24</VISIBLE_TO>
  <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>
</DriverProfile_App>

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

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>