POST api/Payment/CreateContact

Request Information

URI Parameters

None.

Body Parameters

Contact
NameDescriptionTypeAdditional information
email

string

None.

contact

string

None.

type

string

None.

reference_id

string

None.

name

string

None.

notes

Notes

None.

Request Formats

application/json, text/json

Sample:
{
  "email": "sample string 1",
  "contact": "sample string 2",
  "type": "sample string 3",
  "reference_id": "sample string 4",
  "name": "sample string 5",
  "notes": {
    "note_key": "sample string 1"
  }
}

application/xml, text/xml

Sample:
<Contact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BuyBackWebApi.Models">
  <contact>sample string 2</contact>
  <email>sample string 1</email>
  <name>sample string 5</name>
  <notes>
    <note_key>sample string 1</note_key>
  </notes>
  <reference_id>sample string 4</reference_id>
  <type>sample string 3</type>
</Contact>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ContactRes
NameDescriptionTypeAdditional information
id

string

None.

entity

string

None.

name

string

None.

contact

string

None.

email

string

None.

type

string

None.

reference_id

string

None.

batch_id

Object

None.

active

boolean

None.

notes

Notes

None.

created_at

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "entity": "sample string 2",
  "name": "sample string 3",
  "contact": "sample string 4",
  "email": "sample string 5",
  "type": "sample string 6",
  "reference_id": "sample string 7",
  "batch_id": {},
  "active": true,
  "notes": {
    "note_key": "sample string 1"
  },
  "created_at": 10
}

application/xml, text/xml

Sample:
<ContactRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BuyBackWebApi.Models">
  <active>true</active>
  <batch_id />
  <contact>sample string 4</contact>
  <created_at>10</created_at>
  <email>sample string 5</email>
  <entity>sample string 2</entity>
  <id>sample string 1</id>
  <name>sample string 3</name>
  <notes>
    <note_key>sample string 1</note_key>
  </notes>
  <reference_id>sample string 7</reference_id>
  <type>sample string 6</type>
</ContactRes>