POST api/Customers

Request Information

URI Parameters

None.

Body Parameters

CustomerContainer
NameDescriptionTypeAdditional information
customer

Customer

None.

Request Formats

application/json, text/json

Sample:
{
  "customer": {
    "pid_type": "sample string 1",
    "pid_front": "sample string 2",
    "pid_number": "sample string 3",
    "origin_country": "sample string 4",
    "issued_on": "2025-08-21T04:54:10.7638092+00:00",
    "expires_on": "2025-08-21T04:54:10.7638092+00:00",
    "first_name": "sample string 5",
    "middle_name": "sample string 6",
    "last_name": "sample string 7",
    "birthday": "2025-08-21T04:54:10.7638092+00:00",
    "tax_id": "sample string 8",
    "address1": "sample string 9",
    "address2": "sample string 10",
    "city": "sample string 11",
    "state": "sample string 12",
    "postal_code": "sample string 13",
    "signature": "sample string 14",
    "document_type": "sample string 15",
    "drivers_license_data": "sample string 16",
    "pivs_response": "sample string 17"
  }
}

application/xml, text/xml

Sample:
<CustomerContainer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VerantIdWinAPI.Models">
  <customer>
    <address1>sample string 9</address1>
    <address2>sample string 10</address2>
    <birthday>2025-08-21T04:54:10.7638092+00:00</birthday>
    <city>sample string 11</city>
    <document_type>sample string 15</document_type>
    <drivers_license_data>sample string 16</drivers_license_data>
    <expires_on>2025-08-21T04:54:10.7638092+00:00</expires_on>
    <first_name>sample string 5</first_name>
    <issued_on>2025-08-21T04:54:10.7638092+00:00</issued_on>
    <last_name>sample string 7</last_name>
    <middle_name>sample string 6</middle_name>
    <origin_country>sample string 4</origin_country>
    <pid_front>sample string 2</pid_front>
    <pid_number>sample string 3</pid_number>
    <pid_type>sample string 1</pid_type>
    <pivs_response>sample string 17</pivs_response>
    <postal_code>sample string 13</postal_code>
    <signature>sample string 14</signature>
    <state>sample string 12</state>
    <tax_id>sample string 8</tax_id>
  </customer>
</CustomerContainer>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.