POST api/RestaurantFoodyAdmin?restaurantTypeName={restaurantTypeName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
restaurantTypeName

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of RestaurantTypeReference
NameDescriptionTypeAdditional information
RestaurantTypeReferenceId

Reference Id

integer

None.

RestaurantId

Id nhà hàng

integer

None.

RestaurantTypeId

Id loại hình

globally unique identifier

None.

RestaurantTypeName

Tên loại hình? phong cách

string

None.

ParentId

Cấp cha con

globally unique identifier

None.

CategoryType

Enum: 1- Loại hình, 2- phong cách ẩm thực

integer

None.

CreatedDate

Ngày tạo

date

None.

CreatedBy

Người tạo

string

None.

ModifiedDate

Ngày sửa

date

None.

ModifiedBy

Người sửa

string

None.

MISAEntityState

MISAEntityState

None.

Response Formats

application/json, text/json

Sample:
[
  null,
  {
    "RestaurantTypeReferenceId": 1,
    "RestaurantId": 2,
    "RestaurantTypeId": "059a7b0b-a061-4e53-a8c7-d20eae642ce8",
    "RestaurantTypeName": "sample string 4",
    "ParentId": "4602a041-1d0f-4fc4-b9be-d0c28c983b59",
    "CategoryType": 5,
    "CreatedDate": "2026-04-05T21:45:41.3650521+07:00",
    "CreatedBy": "sample string 7",
    "ModifiedDate": "2026-04-05T21:45:41.3650521+07:00",
    "ModifiedBy": "sample string 8",
    "MISAEntityState": 0
  }
]

text/xml

Sample:
<ArrayOfRestaurantTypeReference xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.CUK5FOOD.BO">
  <RestaurantTypeReference i:nil="true" />
  <RestaurantTypeReference>
    <_x003C_DeleteStoredProcedureName_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MISA.Library" />
    <_x003C_InsertStoredProcedureName_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MISA.Library" />
    <_x003C_MISAEntityState_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/MISA.Library">None</_x003C_MISAEntityState_x003E_k__BackingField>
    <_x003C_StoreSchema_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MISA.Library" />
    <_x003C_TableSchema_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MISA.Library" />
    <_x003C_UpdateStoredProcedureName_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MISA.Library" />
    <m_ChangedValues xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/MISA.Library" />
    <m_OriginalValues xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/MISA.Library" />
    <ClientID>sample string 9</ClientID>
    <CreatedBy>sample string 7</CreatedBy>
    <CreatedDate>2026-04-05T21:45:41.3650521+07:00</CreatedDate>
    <ImportErrorDetail i:nil="true" />
    <ImportListError />
    <ImportRowIndex>0</ImportRowIndex>
    <ModifiedBy>sample string 8</ModifiedBy>
    <ModifiedDate>2026-04-05T21:45:41.3650521+07:00</ModifiedDate>
    <CategoryType>5</CategoryType>
    <ParentId>4602a041-1d0f-4fc4-b9be-d0c28c983b59</ParentId>
    <RestaurantId>2</RestaurantId>
    <RestaurantTypeId>059a7b0b-a061-4e53-a8c7-d20eae642ce8</RestaurantTypeId>
    <RestaurantTypeName>sample string 4</RestaurantTypeName>
    <RestaurantTypeReferenceId>1</RestaurantTypeReferenceId>
  </RestaurantTypeReference>
</ArrayOfRestaurantTypeReference>