POST api/Place/UpdatePlace

Request Information

URI Parameters

None.

Body Parameters

M_Place
NameDescriptionTypeAdditional information
ID

integer

None.

Place_Code

string

Required

String length: inclusive between 0 and 50

Place_Name

string

Required

String length: inclusive between 0 and 100

CreateBy

integer

None.

CreateTime

date

None.

UpdateBy

integer

None.

UpdateTime

date

None.

IsActive

boolean

None.

IsDelete

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Place_Code": "sample string 2",
  "Place_Name": "sample string 3",
  "CreateBy": 4,
  "CreateTime": "2025-12-11T21:26:25.8665256+07:00",
  "UpdateBy": 1,
  "UpdateTime": "2025-12-11T21:26:25.8665256+07:00",
  "IsActive": true,
  "IsDelete": true
}

application/xml, text/xml

Sample:
<M_Place xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">
  <CreateBy>4</CreateBy>
  <CreateTime>2025-12-11T21:26:25.8665256+07:00</CreateTime>
  <ID>1</ID>
  <IsActive>true</IsActive>
  <IsDelete>true</IsDelete>
  <Place_Code>sample string 2</Place_Code>
  <Place_Name>sample string 3</Place_Name>
  <UpdateBy>1</UpdateBy>
  <UpdateTime>2025-12-11T21:26:25.8665256+07:00</UpdateTime>
</M_Place>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.