POST api/CateringCorporate/CreateCorpCompanyByPeakCode

Request Information

URI Parameters

None.

Body Parameters

CorporateCompanyInput
NameDescriptionTypeAdditional information
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.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "address": "sample string 2",
  "taxId": "sample string 3",
  "branchCode": "sample string 4",
  "billPayment": true,
  "peakCode": "sample string 6",
  "companyType": 0,
  "adminId": "sample string 7",
  "adminName": "sample string 8",
  "creatorId": "sample string 9",
  "created": "2025-08-27T12:53:34.1367269+00:00",
  "creatorFullName": "sample string 11",
  "updated": "2025-08-27T12:53:34.1367269+00:00",
  "updatorId": "sample string 13",
  "updatorFullName": "sample string 14",
  "disabled": true
}

text/html

Sample:
{"name":"sample string 1","address":"sample string 2","taxId":"sample string 3","branchCode":"sample string 4","billPayment":true,"peakCode":"sample string 6","companyType":0,"adminId":"sample string 7","adminName":"sample string 8","creatorId":"sample string 9","created":"2025-08-27T12:53:34.1367269+00:00","creatorFullName":"sample string 11","updated":"2025-08-27T12:53:34.1367269+00:00","updatorId":"sample string 13","updatorFullName":"sample string 14","disabled":true}

application/xml, text/xml

Sample:
<CorporateCompanyInput 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-27T12:53:34.1367269+00:00</Created>
  <CreatorFullName xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">sample string 11</CreatorFullName>
  <CreatorId xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">sample string 9</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-27T12:53:34.1367269+00:00</Updated>
  <UpdatorFullName xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">sample string 14</UpdatorFullName>
  <UpdatorId xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">sample string 13</UpdatorId>
  <Address>sample string 2</Address>
  <AdminId>sample string 7</AdminId>
  <AdminName>sample string 8</AdminName>
  <BillPayment>true</BillPayment>
  <BranchCode>sample string 4</BranchCode>
  <CompanyType>AllCompany</CompanyType>
  <Name>sample string 1</Name>
  <PeakCode>sample string 6</PeakCode>
  <TaxId>sample string 3</TaxId>
</CorporateCompanyInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>