POST api/Catering/GetCorpCompanyInOrders
Request Information
URI Parameters
None.
Body Parameters
CateringOrderAssignInputName | Description | Type | Additional information |
---|---|---|---|
OrderIds | Collection of integer |
None. |
|
CompanyId | integer |
None. |
|
AdminId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "orderIds": [ 1, 2 ], "companyId": 1, "adminId": "sample string 2" }
text/html
Sample:
{"orderIds":[1,2],"companyId":1,"adminId":"sample string 2"}
application/xml, text/xml
Sample:
<CateringOrderAssignInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api"> <AdminId>sample string 2</AdminId> <CompanyId>1</CompanyId> <OrderIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </OrderIds> </CateringOrderAssignInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CorporateCompanyViewName | Description | Type | Additional 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-26T22:34:12.1414079+00:00", "creatorFullName": "sample string 17", "updated": "2025-08-26T22:34:12.1414079+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-26T22:34:12.1414079+00:00", "creatorFullName": "sample string 17", "updated": "2025-08-26T22:34:12.1414079+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-26T22:34:12.1414079+00:00", "creatorFullName": "sample string 12", "updated": "2025-08-26T22:34:12.1414079+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-26T22:34:12.1414079+00:00","creatorFullName":"sample string 17","updated":"2025-08-26T22:34:12.1414079+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-26T22:34:12.1414079+00:00","creatorFullName":"sample string 17","updated":"2025-08-26T22:34:12.1414079+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-26T22:34:12.1414079+00:00","creatorFullName":"sample string 12","updated":"2025-08-26T22:34:12.1414079+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-26T22:34:12.1414079+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-26T22:34:12.1414079+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-26T22:34:12.1414079+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-26T22:34:12.1414079+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-26T22:34:12.1414079+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-26T22:34:12.1414079+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>