POST company/addorupdatepricingmodel

Adds the pricing model.

Request Information

Parameters

NameDescriptionAdditional information
company
The company.
            1) AccountNumber: Mandatory. String, max 10 chars.
            2) ProductPricingModelCode: Mandatory. String, max 20 chars. Pricing model to link to the company

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "AccountNumber": "sample string 2",
  "Email": "sample string 3",
  "PaymentMethod": "sample string 4",
  "CreditLimitValue": 5.1,
  "CreditLimitDays": 1,
  "DateAdded": "2024-11-11T23:15:45.3285403+00:00",
  "ProductPricingModelCode": "sample string 7"
}

application/xml, text/xml

Sample:
<CompanyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webi.Api2.Models">
  <AccountNumber>sample string 2</AccountNumber>
  <CreditLimitDays>1</CreditLimitDays>
  <CreditLimitValue>5.1</CreditLimitValue>
  <DateAdded>2024-11-11T23:15:45.3285403+00:00</DateAdded>
  <Email>sample string 3</Email>
  <Name>sample string 1</Name>
  <PaymentMethod>sample string 4</PaymentMethod>
  <ProductPricingModelCode>sample string 7</ProductPricingModelCode>
</CompanyModel>

application/x-www-form-urlencoded

Sample:

Sample not available.