GET api/historical/domaingroups?companyId={companyId}

Gets the domain groups for this company.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DomainGroupModel
NameDescriptionTypeAdditional information
ID

integer

Required

Name

string

Required

String length: inclusive between 0 and 255

Job

string

String length: inclusive between 0 and 40

CompanyId

integer

Required

ProxyCountryId

integer

None.

IsActive

boolean

Required

CreatedBy

integer

Required

CreatedDate

date

Required

ModifiedBy

integer

None.

ModifiedDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Name": "sample string 2",
    "Job": "sample string 3",
    "CompanyId": 4,
    "ProxyCountryId": 1,
    "IsActive": true,
    "CreatedBy": 6,
    "CreatedDate": "2024-10-03T23:30:37.4549471+00:00",
    "ModifiedBy": 1,
    "ModifiedDate": "2024-10-03T23:30:37.4549471+00:00"
  },
  {
    "ID": 1,
    "Name": "sample string 2",
    "Job": "sample string 3",
    "CompanyId": 4,
    "ProxyCountryId": 1,
    "IsActive": true,
    "CreatedBy": 6,
    "CreatedDate": "2024-10-03T23:30:37.4549471+00:00",
    "ModifiedBy": 1,
    "ModifiedDate": "2024-10-03T23:30:37.4549471+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDomainGroupModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DALGMA.Models">
  <DomainGroupModel>
    <CompanyId>4</CompanyId>
    <CreatedBy>6</CreatedBy>
    <CreatedDate>2024-10-03T23:30:37.4549471+00:00</CreatedDate>
    <ID>1</ID>
    <IsActive>true</IsActive>
    <Job>sample string 3</Job>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedDate>2024-10-03T23:30:37.4549471+00:00</ModifiedDate>
    <Name>sample string 2</Name>
    <ProxyCountryId>1</ProxyCountryId>
  </DomainGroupModel>
  <DomainGroupModel>
    <CompanyId>4</CompanyId>
    <CreatedBy>6</CreatedBy>
    <CreatedDate>2024-10-03T23:30:37.4549471+00:00</CreatedDate>
    <ID>1</ID>
    <IsActive>true</IsActive>
    <Job>sample string 3</Job>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedDate>2024-10-03T23:30:37.4549471+00:00</ModifiedDate>
    <Name>sample string 2</Name>
    <ProxyCountryId>1</ProxyCountryId>
  </DomainGroupModel>
</ArrayOfDomainGroupModel>