POST api/applicant/onboard/my-referee/update/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

OnboardingRecruitRefereesDTOW
NameDescriptionTypeAdditional information
session_id

string

Required

Max length: 100

record_type

integer

Required

surname

string

Required

Max length: 100

firstname

string

Required

Max length: 100

othernames

string

Max length: 100

gender

string

Required

Max length: 100

fulladdress

string

Required

Max length: 500

state_code

string

Required

Max length: 100

country_code

string

Required

Max length: 100

company_name

string

Required

Max length: 100

position

string

Required

Max length: 100

company_address

string

Required

Max length: 500

bvn

string

Max length: 100

phone1

string

Required

Max length: 100

phone2

string

Max length: 100

email

string

Required

Max length: 100

img_picture

Collection of byte

None.

img_size

integer

None.

img_extension

string

Max length: 10

img_mime

string

Max length: 100

doc_binary

Collection of byte

None.

doc_size

integer

None.

doc_extension

string

Max length: 10

doc_mime

string

Max length: 10

tenant_id

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "session_id": "sample string 1",
  "record_type": 2,
  "surname": "sample string 3",
  "firstname": "sample string 4",
  "othernames": "sample string 5",
  "gender": "sample string 6",
  "fulladdress": "sample string 7",
  "state_code": "sample string 8",
  "country_code": "sample string 9",
  "company_name": "sample string 10",
  "position": "sample string 11",
  "company_address": "sample string 12",
  "bvn": "sample string 13",
  "phone1": "sample string 14",
  "phone2": "sample string 15",
  "email": "sample string 16",
  "img_picture": "QEA=",
  "img_size": 1,
  "img_extension": "sample string 17",
  "img_mime": "sample string 18",
  "doc_binary": "QEA=",
  "doc_size": 1,
  "doc_extension": "sample string 19",
  "doc_mime": "sample string 20",
  "tenant_id": 21
}

application/xml, text/xml

Sample:
<OnboardingRecruitRefereesDTOW xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Xceed365EngageApi.core.DTOs.Writable">
  <bvn>sample string 13</bvn>
  <company_address>sample string 12</company_address>
  <company_name>sample string 10</company_name>
  <country_code>sample string 9</country_code>
  <doc_binary>QEA=</doc_binary>
  <doc_extension>sample string 19</doc_extension>
  <doc_mime>sample string 20</doc_mime>
  <doc_size>1</doc_size>
  <email>sample string 16</email>
  <firstname>sample string 4</firstname>
  <fulladdress>sample string 7</fulladdress>
  <gender>sample string 6</gender>
  <img_extension>sample string 17</img_extension>
  <img_mime>sample string 18</img_mime>
  <img_picture>QEA=</img_picture>
  <img_size>1</img_size>
  <othernames>sample string 5</othernames>
  <phone1>sample string 14</phone1>
  <phone2>sample string 15</phone2>
  <position>sample string 11</position>
  <record_type>2</record_type>
  <session_id>sample string 1</session_id>
  <state_code>sample string 8</state_code>
  <surname>sample string 3</surname>
  <tenant_id>21</tenant_id>
</OnboardingRecruitRefereesDTOW>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.