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": "aa9935a1-d8ec-49e2-8e58-ee4ecc614863",
  "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": "2025-09-18T03:37:21.0298494+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": "0ab0889b-3eb6-4e7c-b2d3-341b14848a3e",
        "CompanyId": "1d8486dc-a813-4da2-8623-f62fed15ab4e",
        "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": "8ad5cafe-363d-489a-967f-c3cf72836a01",
  "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": "2025-09-18T03:37:21.2017787+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": "3e7b95c5-6694-4f84-b9c3-4922e691c924",
        "CompanyId": "a8f43f20-8d1a-4218-83d6-d4ab2b293fe8",
        "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.