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": "194352b8-e31e-4ff1-8f66-c4cd0f1bbe5d",
  "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-05-09T19:50:40.2812413+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": "5af48c66-3707-44f7-bc6f-9649e9979c89",
        "CompanyId": "c78166f5-c94e-42c9-8ad3-bbac2e3bb481",
        "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": "f5b39a6f-7ea3-4386-81da-84de5b435a96",
  "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-05-09T19:50:40.4844276+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": "28f6a915-d869-4955-bf37-c74e79601767",
        "CompanyId": "b7a9c66d-2811-41e1-be41-ef1d7c7d16bc",
        "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.