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": "861c18e3-ca40-40d2-b7eb-95a15d4332e3",
  "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-05-06T12:51:37.8420616+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": "16255feb-20bc-449f-9d25-21c87dac2308",
        "CompanyId": "aa46af6d-3fb0-4b2d-987b-08d2bffe42a9",
        "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": "f4a52019-5e51-4687-93f3-bec62dbf7a11",
  "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-05-06T12:51:37.9202106+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": "28c0e42f-c06d-4d10-9f46-c1f7f0afbd21",
        "CompanyId": "11d7cdc9-d28c-4a70-bdca-0942ea28b9cc",
        "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.