GET api/CateringCorporate/GetCorpCompanyById/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

CorporateCompanyView
NameDescriptionTypeAdditional information
Id

integer

None.

corpUsers

Collection of UserView

None.

Name

string

None.

Address

string

None.

TaxId

string

None.

BranchCode

string

None.

BillPayment

boolean

None.

PeakCode

string

None.

CompanyType

CompanyType

None.

AdminId

string

None.

AdminName

string

None.

CreatorId

string

None.

Created

date

None.

CreatorFullName

string

None.

Updated

date

None.

UpdatorId

string

None.

UpdatorFullName

string

None.

Disabled

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "corpUsers": [
    {
      "userId": "sample string 1",
      "role": "sample string 2",
      "userName": "sample string 3",
      "email": "sample string 4",
      "fullName": "sample string 5",
      "name": "sample string 6",
      "lastname": "sample string 7",
      "phoneNumber": "sample string 8",
      "type": 0,
      "companyId": 9,
      "companyName": "sample string 10",
      "companyAddress": "sample string 11",
      "companyTaxId": "sample string 12",
      "adminId": 13,
      "adminName": "sample string 14",
      "creatorId": "sample string 15",
      "created": "2025-08-27T10:15:30.5455726+00:00",
      "creatorFullName": "sample string 17",
      "updated": "2025-08-27T10:15:30.5455726+00:00",
      "updatorId": "sample string 19",
      "updatorFullName": "sample string 20",
      "disabled": true
    },
    {
      "userId": "sample string 1",
      "role": "sample string 2",
      "userName": "sample string 3",
      "email": "sample string 4",
      "fullName": "sample string 5",
      "name": "sample string 6",
      "lastname": "sample string 7",
      "phoneNumber": "sample string 8",
      "type": 0,
      "companyId": 9,
      "companyName": "sample string 10",
      "companyAddress": "sample string 11",
      "companyTaxId": "sample string 12",
      "adminId": 13,
      "adminName": "sample string 14",
      "creatorId": "sample string 15",
      "created": "2025-08-27T10:15:30.5455726+00:00",
      "creatorFullName": "sample string 17",
      "updated": "2025-08-27T10:15:30.5455726+00:00",
      "updatorId": "sample string 19",
      "updatorFullName": "sample string 20",
      "disabled": true
    }
  ],
  "name": "sample string 2",
  "address": "sample string 3",
  "taxId": "sample string 4",
  "branchCode": "sample string 5",
  "billPayment": true,
  "peakCode": "sample string 7",
  "companyType": 0,
  "adminId": "sample string 8",
  "adminName": "sample string 9",
  "creatorId": "sample string 10",
  "created": "2025-08-27T10:15:30.5455726+00:00",
  "creatorFullName": "sample string 12",
  "updated": "2025-08-27T10:15:30.5455726+00:00",
  "updatorId": "sample string 14",
  "updatorFullName": "sample string 15",
  "disabled": true
}

text/html

Sample:
{"id":1,"corpUsers":[{"userId":"sample string 1","role":"sample string 2","userName":"sample string 3","email":"sample string 4","fullName":"sample string 5","name":"sample string 6","lastname":"sample string 7","phoneNumber":"sample string 8","type":0,"companyId":9,"companyName":"sample string 10","companyAddress":"sample string 11","companyTaxId":"sample string 12","adminId":13,"adminName":"sample string 14","creatorId":"sample string 15","created":"2025-08-27T10:15:30.5455726+00:00","creatorFullName":"sample string 17","updated":"2025-08-27T10:15:30.5455726+00:00","updatorId":"sample string 19","updatorFullName":"sample string 20","disabled":true},{"userId":"sample string 1","role":"sample string 2","userName":"sample string 3","email":"sample string 4","fullName":"sample string 5","name":"sample string 6","lastname":"sample string 7","phoneNumber":"sample string 8","type":0,"companyId":9,"companyName":"sample string 10","companyAddress":"sample string 11","companyTaxId":"sample string 12","adminId":13,"adminName":"sample string 14","creatorId":"sample string 15","created":"2025-08-27T10:15:30.5455726+00:00","creatorFullName":"sample string 17","updated":"2025-08-27T10:15:30.5455726+00:00","updatorId":"sample string 19","updatorFullName":"sample string 20","disabled":true}],"name":"sample string 2","address":"sample string 3","taxId":"sample string 4","branchCode":"sample string 5","billPayment":true,"peakCode":"sample string 7","companyType":0,"adminId":"sample string 8","adminName":"sample string 9","creatorId":"sample string 10","created":"2025-08-27T10:15:30.5455726+00:00","creatorFullName":"sample string 12","updated":"2025-08-27T10:15:30.5455726+00:00","updatorId":"sample string 14","updatorFullName":"sample string 15","disabled":true}

application/xml, text/xml

Sample:
<CorporateCompanyView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Models.Api">
  <Created xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">2025-08-27T10:15:30.5455726+00:00</Created>
  <CreatorFullName xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">sample string 12</CreatorFullName>
  <CreatorId xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">sample string 10</CreatorId>
  <Disabled xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">true</Disabled>
  <Updated xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">2025-08-27T10:15:30.5455726+00:00</Updated>
  <UpdatorFullName xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">sample string 15</UpdatorFullName>
  <UpdatorId xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">sample string 14</UpdatorId>
  <Address>sample string 3</Address>
  <AdminId>sample string 8</AdminId>
  <AdminName>sample string 9</AdminName>
  <BillPayment>true</BillPayment>
  <BranchCode>sample string 5</BranchCode>
  <CompanyType>AllCompany</CompanyType>
  <Name>sample string 2</Name>
  <PeakCode>sample string 7</PeakCode>
  <TaxId>sample string 4</TaxId>
  <Id>1</Id>
  <corpUsers>
    <UserView>
      <Created xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">2025-08-27T10:15:30.5455726+00:00</Created>
      <CreatorFullName xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">sample string 17</CreatorFullName>
      <CreatorId xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">sample string 15</CreatorId>
      <Disabled xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">true</Disabled>
      <Updated xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">2025-08-27T10:15:30.5455726+00:00</Updated>
      <UpdatorFullName xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">sample string 20</UpdatorFullName>
      <UpdatorId xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">sample string 19</UpdatorId>
      <CompanyAddress>sample string 11</CompanyAddress>
      <CompanyName>sample string 10</CompanyName>
      <CompanyTaxId>sample string 12</CompanyTaxId>
      <Email>sample string 4</Email>
      <FullName>sample string 5</FullName>
      <Lastname>sample string 7</Lastname>
      <Name>sample string 6</Name>
      <PhoneNumber>sample string 8</PhoneNumber>
      <Type>NonCorporateUser</Type>
      <UserName>sample string 3</UserName>
      <adminId>13</adminId>
      <adminName>sample string 14</adminName>
      <companyId>9</companyId>
      <Role>sample string 2</Role>
      <UserId>sample string 1</UserId>
    </UserView>
    <UserView>
      <Created xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">2025-08-27T10:15:30.5455726+00:00</Created>
      <CreatorFullName xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">sample string 17</CreatorFullName>
      <CreatorId xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">sample string 15</CreatorId>
      <Disabled xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">true</Disabled>
      <Updated xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">2025-08-27T10:15:30.5455726+00:00</Updated>
      <UpdatorFullName xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">sample string 20</UpdatorFullName>
      <UpdatorId xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">sample string 19</UpdatorId>
      <CompanyAddress>sample string 11</CompanyAddress>
      <CompanyName>sample string 10</CompanyName>
      <CompanyTaxId>sample string 12</CompanyTaxId>
      <Email>sample string 4</Email>
      <FullName>sample string 5</FullName>
      <Lastname>sample string 7</Lastname>
      <Name>sample string 6</Name>
      <PhoneNumber>sample string 8</PhoneNumber>
      <Type>NonCorporateUser</Type>
      <UserName>sample string 3</UserName>
      <adminId>13</adminId>
      <adminName>sample string 14</adminName>
      <companyId>9</companyId>
      <Role>sample string 2</Role>
      <UserId>sample string 1</UserId>
    </UserView>
  </corpUsers>
</CorporateCompanyView>