POST api/ProprietaryContactData

Request Information

URI Parameters

None.

Body Parameters

ProprietaryContactDataDto
NameDescriptionTypeAdditional information
ContactId

integer

None.

Title

string

Max length: 200

PreferredCommunicationMethod

ListItemDto

None.

ReasonForChange

string

None.

Id

integer

None.

Deleted

boolean

None.

Created

date

None.

CreatedUser

ListItemDto

None.

Modified

date

None.

ModifiedUser

ListItemDto

None.

ClientId

integer

None.

Note

string

None.

Pitch

string

None.

Address

AddressDto

None.

PhoneNumber

string

Max length: 80

MobileNumber

string

Max length: 80

FaxNumber

string

Max length: 80

EmailAddress

string

Max length: 100

TwitterUrl

string

Max length: 400

TwitterHandle

string

Max length: 15

FacebookUrl

string

Max length: 400

LinkedInUrl

string

Max length: 400

WebsiteUrl

string

Max length: 400

UseEmailAddressForReleases

boolean

None.

UseContactDetailsInUi

boolean

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "contactId": 1,
  "title": "sample string 2",
  "preferredCommunicationMethod": {
    "name": "sample string 1",
    "id": 2
  },
  "reasonForChange": "sample string 3",
  "id": 4,
  "deleted": true,
  "created": "2024-11-21T08:42:31.0707194+00:00",
  "createdUser": {
    "name": "sample string 1",
    "id": 2
  },
  "modified": "2024-11-21T08:42:31.0707194+00:00",
  "modifiedUser": {
    "name": "sample string 1",
    "id": 2
  },
  "clientId": 8,
  "note": "sample string 9",
  "pitch": "sample string 10",
  "address": {
    "line1": "sample string 1",
    "line2": "sample string 2",
    "city": "sample string 3",
    "county": "sample string 4",
    "postalCode": "sample string 5",
    "country": {
      "name": "sample string 1",
      "id": 2
    },
    "state": {
      "code": "sample string 1",
      "name": "sample string 2",
      "deleted": true,
      "country": {
        "name": "sample string 1",
        "id": 2
      },
      "id": 4
    },
    "addressType": {
      "name": "sample string 1",
      "id": 2
    },
    "isParentAddress": true,
    "id": 7
  },
  "phoneNumber": "sample string 11",
  "mobileNumber": "sample string 12",
  "faxNumber": "sample string 13",
  "emailAddress": "sample string 14",
  "twitterUrl": "sample string 15",
  "twitterHandle": "sample string 16",
  "facebookUrl": "sample string 17",
  "linkedInUrl": "sample string 18",
  "websiteUrl": "sample string 19",
  "useEmailAddressForReleases": true,
  "useContactDetailsInUi": true
}

text/plain

Sample:
{"contactId":1,"title":"sample string 2","preferredCommunicationMethod":{"name":"sample string 1","id":2},"reasonForChange":"sample string 3","id":4,"deleted":true,"created":"2024-11-21T08:42:31.0707194+00:00","createdUser":{"name":"sample string 1","id":2},"modified":"2024-11-21T08:42:31.0707194+00:00","modifiedUser":{"name":"sample string 1","id":2},"clientId":8,"note":"sample string 9","pitch":"sample string 10","address":{"line1":"sample string 1","line2":"sample string 2","city":"sample string 3","county":"sample string 4","postalCode":"sample string 5","country":{"name":"sample string 1","id":2},"state":{"code":"sample string 1","name":"sample string 2","deleted":true,"country":{"name":"sample string 1","id":2},"id":4},"addressType":{"name":"sample string 1","id":2},"isParentAddress":true,"id":7},"phoneNumber":"sample string 11","mobileNumber":"sample string 12","faxNumber":"sample string 13","emailAddress":"sample string 14","twitterUrl":"sample string 15","twitterHandle":"sample string 16","facebookUrl":"sample string 17","linkedInUrl":"sample string 18","websiteUrl":"sample string 19","useEmailAddressForReleases":true,"useContactDetailsInUi":true}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/plain

Sample:

Sample not available.