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": "e3bc2e99-d5bb-4105-98ee-93b8dc91d586",
  "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-03-21T21:07:59.5538013+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": "71fd7717-9838-4ffd-8f2d-8116982e165a",
        "CompanyId": "bfdd8e7e-90bf-4d3b-a737-1596bbc12ef8",
        "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": "0c9dc65b-4707-45fc-a3a2-b035c6263b93",
  "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-03-21T21:07:59.6944777+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": "705c3499-dee9-4d46-a249-0e8ca62b1697",
        "CompanyId": "228aa625-a372-4b7d-a64b-b333c352e6db",
        "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.