POST api/Company

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
Company
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "CompanyId": "d0a0b893-988d-4e71-95b6-cf50bab03ce9",
  "TenantId": "sample string 2",
  "CompanyName": "sample string 3",
  "WebSite": "sample string 4",
  "TaxIDorVATNo": "sample string 5",
  "FaxNo": "sample string 6",
  "TelphoneNo": "sample string 7",
  "TurnoverAmount": "sample string 8",
  "TurnoverCcy": "sample string 9",
  "BusinessYear": "sample string 10",
  "LogoSaveId": "sample string 11",
  "TimeZoneId": "sample string 12",
  "NumberOfEmployees": "sample string 13",
  "UpdatedTimeStamp": "2026-02-04T02:35:42.0904302+00:00",
  "ProcessUser": "sample string 15",
  "Comment": "sample string 16",
  "IsNewSignUp": true,
  "RegistrationNo": "sample string 17",
  "Section": "sample string 18",
  "CompanyEmail": "sample string 19",
  "EoriNumber": "sample string 20",
  "IsPartner": true,
  "PartnerType": "sample string 21",
  "AddressTypes": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "AddressTypeId": "6a44c41e-155b-4a0f-85f9-571177bbba7d",
        "CompanyId": "3b5f85df-c3e3-4f9f-ae0c-a34b468fe68e",
        "AddressLine": "sample string 2",
        "AddressLine2": "sample string 3",
        "TownLocality": "sample string 4",
        "CityRegion": "sample string 5",
        "State": "sample string 6",
        "PostalZipCode": "sample string 7",
        "CountryId": "sample string 8",
        "CountryName": "sample string 9",
        "Type": "sample string 10",
        "TelphoneNo": "sample string 11",
        "Company": {
          "$ref": "1"
        }
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "LogoBase64": "sample string 22",
  "PrimaryAddress": {
    "$ref": "3"
  },
  "SecondaryAddress": {
    "$ref": "3"
  },
  "InvoicingAddress": {
    "$ref": "3"
  },
  "OtherInvoicingAddress": {
    "$ref": "3"
  }
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: One or more errors occurred.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: One or more errors occurred.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Company'.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "CompanyId": "baef4386-9afe-4c61-8371-c61266745b7b",
  "TenantId": "sample string 2",
  "CompanyName": "sample string 3",
  "WebSite": "sample string 4",
  "TaxIDorVATNo": "sample string 5",
  "FaxNo": "sample string 6",
  "TelphoneNo": "sample string 7",
  "TurnoverAmount": "sample string 8",
  "TurnoverCcy": "sample string 9",
  "BusinessYear": "sample string 10",
  "LogoSaveId": "sample string 11",
  "TimeZoneId": "sample string 12",
  "NumberOfEmployees": "sample string 13",
  "UpdatedTimeStamp": "2026-02-04T02:35:42.1685769+00:00",
  "ProcessUser": "sample string 15",
  "Comment": "sample string 16",
  "IsNewSignUp": true,
  "RegistrationNo": "sample string 17",
  "Section": "sample string 18",
  "CompanyEmail": "sample string 19",
  "EoriNumber": "sample string 20",
  "IsPartner": true,
  "PartnerType": "sample string 21",
  "AddressTypes": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "AddressTypeId": "344c49ef-790d-49df-95d9-1e1620a1a0d1",
        "CompanyId": "c2b3354c-ead2-4661-b22a-bfac9cc3ea8a",
        "AddressLine": "sample string 2",
        "AddressLine2": "sample string 3",
        "TownLocality": "sample string 4",
        "CityRegion": "sample string 5",
        "State": "sample string 6",
        "PostalZipCode": "sample string 7",
        "CountryId": "sample string 8",
        "CountryName": "sample string 9",
        "Type": "sample string 10",
        "TelphoneNo": "sample string 11",
        "Company": {
          "$ref": "1"
        }
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "LogoBase64": "sample string 22",
  "PrimaryAddress": {
    "$ref": "3"
  },
  "SecondaryAddress": {
    "$ref": "3"
  },
  "InvoicingAddress": {
    "$ref": "3"
  },
  "OtherInvoicingAddress": {
    "$ref": "3"
  }
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: One or more errors occurred.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: One or more errors occurred.