Request Information

URI Parameters

None.

Body Parameters

The corporate partner.

Pico.CorporatePartner
NameDescriptionTypeAdditional information
benefitsTo

Gets or sets the benefits to.

string

None.

code

Gets or sets the code.

string

None.

companyName

Gets or sets the company name.

string

None.

discount

Gets or sets the discount.

decimal number

None.

isActive

Gets or sets a value indicating whether this is active.

boolean

None.

id

Gets or sets the corporate partner identifier.

integer

None.

organization

Gets or sets the organization identifier.

integer

None.

accountExecutive

Gets or sets the account excecutive identifier.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "benefitsTo": "sample String 1",
  "code": "sample String 2",
  "companyName": "sample String 3",
  "discount": 1.1,
  "isActive": true,
  "id": "5",
  "organization": "6",
  "accountExecutive": "1"
}

text/html

Sample:
{"benefitsTo":"sample String 1","code":"sample String 2","companyName":"sample String 3","discount":1.1,"isActive":true,"id":"5","organization":"6","accountExecutive":"1"}

application/xml, text/xml

Sample:
<CorporatePartner xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <BenefitsTo>sample String 1</BenefitsTo>
  <Code>sample String 2</Code>
  <CompanyName>sample String 3</CompanyName>
  <Discount>1.1</Discount>
  <IsActive>true</IsActive>
  <CorporatePartnerId>5</CorporatePartnerId>
  <OrganizationId>6</OrganizationId>
  <AccountExecutiveId>1</AccountExecutiveId>
</CorporatePartner>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The created corporate partner.

Pico.CorporatePartner
NameDescriptionTypeAdditional information
benefitsTo

Gets or sets the benefits to.

string

None.

code

Gets or sets the code.

string

None.

companyName

Gets or sets the company name.

string

None.

discount

Gets or sets the discount.

decimal number

None.

isActive

Gets or sets a value indicating whether this is active.

boolean

None.

id

Gets or sets the corporate partner identifier.

integer

None.

organization

Gets or sets the organization identifier.

integer

None.

accountExecutive

Gets or sets the account excecutive identifier.

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "benefitsTo": "sample String 1",
  "code": "sample String 2",
  "companyName": "sample String 3",
  "discount": 1.1,
  "isActive": true,
  "id": "5",
  "organization": "6",
  "accountExecutive": "1"
}

text/html

Sample:
{"benefitsTo":"sample String 1","code":"sample String 2","companyName":"sample String 3","discount":1.1,"isActive":true,"id":"5","organization":"6","accountExecutive":"1"}

application/xml, text/xml

Sample:
<CorporatePartner xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <BenefitsTo>sample String 1</BenefitsTo>
  <Code>sample String 2</Code>
  <CompanyName>sample String 3</CompanyName>
  <Discount>1.1</Discount>
  <IsActive>true</IsActive>
  <CorporatePartnerId>5</CorporatePartnerId>
  <OrganizationId>6</OrganizationId>
  <AccountExecutiveId>1</AccountExecutiveId>
</CorporatePartner>