POST api/Partners

Request Information

URI Parameters

None.

Body Parameters

Partner
NameDescriptionTypeAdditional information
Id

integer

None.

FirstName

string

Required

String length: inclusive between 0 and 50

LastName

string

String length: inclusive between 0 and 50

Email

string

Required

String length: inclusive between 0 and 50

ContactNo

decimal number

Required

Title

string

String length: inclusive between 0 and 60

Company

string

String length: inclusive between 0 and 60

Website

string

String length: inclusive between 0 and 60

StreetAddress

string

String length: inclusive between 0 and 250

City

string

String length: inclusive between 0 and 75

State

string

String length: inclusive between 0 and 75

Country

string

String length: inclusive between 0 and 75

Zip

string

String length: inclusive between 0 and 20

NoOfEmployees

integer

None.

YearsInBusiness

string

String length: inclusive between 0 and 50

MainProduct

string

String length: inclusive between 0 and 50

OrganizationDescription

string

String length: inclusive between 0 and 500

InterestDescription

string

String length: inclusive between 0 and 500

HowHereAbout

string

String length: inclusive between 0 and 500

Skype

string

String length: inclusive between 0 and 50

AddDate

date

Required

IPAddress

string

Required

ByWhichDomain

string

Required

Status

string

String length: inclusive between 0 and 100

HandleBy

string

String length: inclusive between 0 and 100

PartnerType

string

String length: inclusive between 0 and 200

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Email": "sample string 4",
  "ContactNo": 5.0,
  "Title": "sample string 6",
  "Company": "sample string 7",
  "Website": "sample string 8",
  "StreetAddress": "sample string 9",
  "City": "sample string 10",
  "State": "sample string 11",
  "Country": "sample string 12",
  "Zip": "sample string 13",
  "NoOfEmployees": 14,
  "YearsInBusiness": "sample string 15",
  "MainProduct": "sample string 16",
  "OrganizationDescription": "sample string 17",
  "InterestDescription": "sample string 18",
  "HowHereAbout": "sample string 19",
  "Skype": "sample string 20",
  "AddDate": "2024-04-25T21:58:53.2875662-05:00",
  "IPAddress": "sample string 22",
  "ByWhichDomain": "sample string 23",
  "Status": "sample string 24",
  "HandleBy": "sample string 25",
  "PartnerType": "sample string 26"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Partner
NameDescriptionTypeAdditional information
Id

integer

None.

FirstName

string

Required

String length: inclusive between 0 and 50

LastName

string

String length: inclusive between 0 and 50

Email

string

Required

String length: inclusive between 0 and 50

ContactNo

decimal number

Required

Title

string

String length: inclusive between 0 and 60

Company

string

String length: inclusive between 0 and 60

Website

string

String length: inclusive between 0 and 60

StreetAddress

string

String length: inclusive between 0 and 250

City

string

String length: inclusive between 0 and 75

State

string

String length: inclusive between 0 and 75

Country

string

String length: inclusive between 0 and 75

Zip

string

String length: inclusive between 0 and 20

NoOfEmployees

integer

None.

YearsInBusiness

string

String length: inclusive between 0 and 50

MainProduct

string

String length: inclusive between 0 and 50

OrganizationDescription

string

String length: inclusive between 0 and 500

InterestDescription

string

String length: inclusive between 0 and 500

HowHereAbout

string

String length: inclusive between 0 and 500

Skype

string

String length: inclusive between 0 and 50

AddDate

date

Required

IPAddress

string

Required

ByWhichDomain

string

Required

Status

string

String length: inclusive between 0 and 100

HandleBy

string

String length: inclusive between 0 and 100

PartnerType

string

String length: inclusive between 0 and 200

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Email": "sample string 4",
  "ContactNo": 5.0,
  "Title": "sample string 6",
  "Company": "sample string 7",
  "Website": "sample string 8",
  "StreetAddress": "sample string 9",
  "City": "sample string 10",
  "State": "sample string 11",
  "Country": "sample string 12",
  "Zip": "sample string 13",
  "NoOfEmployees": 14,
  "YearsInBusiness": "sample string 15",
  "MainProduct": "sample string 16",
  "OrganizationDescription": "sample string 17",
  "InterestDescription": "sample string 18",
  "HowHereAbout": "sample string 19",
  "Skype": "sample string 20",
  "AddDate": "2024-04-25T21:58:53.3188088-05:00",
  "IPAddress": "sample string 22",
  "ByWhichDomain": "sample string 23",
  "Status": "sample string 24",
  "HandleBy": "sample string 25",
  "PartnerType": "sample string 26"
}