POST api/beeCompanyController/Insert

Request Information

URI Parameters

None.

Body Parameters

CreateBEECompanyDtoIn
NameDescriptionTypeAdditional information
Id

integer

None.

BusinessUnit

BusinessUnitWithDivisionAndCompanyDtoOut

Required

StockNumber

string

None.

CustomerName

string

None.

DateOfPurchase

date

None.

CompanyRegNo

string

None.

VATNumber

string

None.

ITCReport

boolean

None.

EmailAddress

string

None.

ContactNumber

string

None.

AmmountIncVAT

decimal number

None.

Address

string

None.

EmpoweringSupplier

boolean

None.

cType

string

None.

Level

integer

None.

BO51

boolean

None.

BFO30

boolean

None.

SDBeneficiary

boolean

None.

BO_QSE_EME_3YR

boolean

None.

FirstTimeSupplier

boolean

None.

DesignatedGroup

boolean

None.

CertificateExpiryDate

date

None.

Comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "businessUnit": {
    "id": 1,
    "name": "sample string 2",
    "isActive": true,
    "division": {
      "id": 1,
      "name": "sample string 2",
      "isActive": true,
      "country": {
        "id": 1,
        "name": "sample string 2"
      },
      "company": {
        "id": 1,
        "name": "sample string 2",
        "isActive": true
      }
    }
  },
  "stockNumber": "sample string 2",
  "customerName": "sample string 3",
  "dateOfPurchase": "2024-11-19T12:38:32.79221+02:00",
  "companyRegNo": "sample string 5",
  "vatNumber": "sample string 6",
  "itcReport": true,
  "emailAddress": "sample string 8",
  "contactNumber": "sample string 9",
  "ammountIncVAT": 10.0,
  "address": "sample string 11",
  "empoweringSupplier": true,
  "cType": "sample string 13",
  "level": 14,
  "bO51": true,
  "bfO30": true,
  "sdBeneficiary": true,
  "bO_QSE_EME_3YR": true,
  "firstTimeSupplier": true,
  "designatedGroup": true,
  "certificateExpiryDate": "2024-11-19T12:38:32.79221+02:00",
  "comment": "sample string 22"
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.