POST api/Customer

Request Information

URI Parameters

None.

Body Parameters

LokeCustomer
NameDescriptionTypeAdditional information
Event

string

None.

customer

Customer

None.

organization

Organization

None.

Request Formats

application/json, text/json

Sample:
{
  "Event": "sample string 1",
  "customer": {
    "id": "sample string 1",
    "firstName": "sample string 2",
    "lastName": "sample string 3",
    "email": "sample string 4",
    "phoneNumber": "sample string 5",
    "dob": "sample string 6",
    "createdAt": "2026-04-12T10:26:00.3632121+01:00",
    "updatedAt": "2026-04-12T10:26:00.3632121+01:00",
    "hasAgreedToMarketing": true
  },
  "organization": {
    "id": "sample string 1",
    "name": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<LokeCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Loke_Webhook.Models">
  <Event>sample string 1</Event>
  <customer>
    <createdAt>2026-04-12T10:26:00.3632121+01:00</createdAt>
    <dob>sample string 6</dob>
    <email>sample string 4</email>
    <firstName>sample string 2</firstName>
    <hasAgreedToMarketing>true</hasAgreedToMarketing>
    <id>sample string 1</id>
    <lastName>sample string 3</lastName>
    <phoneNumber>sample string 5</phoneNumber>
    <updatedAt>2026-04-12T10:26:00.3632121+01:00</updatedAt>
  </customer>
  <organization>
    <id>sample string 1</id>
    <name>sample string 2</name>
  </organization>
</LokeCustomer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

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