POST api/Content/Update

Request Information

URI Parameters

None.

Body Parameters

Content
NameDescriptionTypeAdditional information
Id

integer

None.

EnglishTitle

string

None.

MyanmarTitle

string

None.

EnglishDescription

string

None.

MyanmarDescription

string

None.

Link

string

None.

LinkText

string

None.

Type

string

None.

SortOrder

integer

None.

ImageUrl

string

None.

IsDeleted

boolean

None.

CreatedDate

date

None.

CreatedUserId

integer

None.

UpdatedDate

date

None.

UpdatedUserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "EnglishTitle": "sample string 2",
  "MyanmarTitle": "sample string 3",
  "EnglishDescription": "sample string 4",
  "MyanmarDescription": "sample string 5",
  "Link": "sample string 6",
  "LinkText": "sample string 7",
  "Type": "sample string 8",
  "SortOrder": 9,
  "ImageUrl": "sample string 10",
  "IsDeleted": true,
  "CreatedDate": "2026-06-13T05:13:19.8507861+06:30",
  "CreatedUserId": 13,
  "UpdatedDate": "2026-06-13T05:13:19.8507861+06:30",
  "UpdatedUserId": 1
}

application/xml, text/xml

Sample:
<Content xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Entity">
  <CreatedDate>2026-06-13T05:13:19.8507861+06:30</CreatedDate>
  <CreatedUserId>13</CreatedUserId>
  <EnglishDescription>sample string 4</EnglishDescription>
  <EnglishTitle>sample string 2</EnglishTitle>
  <Id>1</Id>
  <ImageUrl>sample string 10</ImageUrl>
  <IsDeleted>true</IsDeleted>
  <Link>sample string 6</Link>
  <LinkText>sample string 7</LinkText>
  <MyanmarDescription>sample string 5</MyanmarDescription>
  <MyanmarTitle>sample string 3</MyanmarTitle>
  <SortOrder>9</SortOrder>
  <Type>sample string 8</Type>
  <UpdatedDate>2026-06-13T05:13:19.8507861+06:30</UpdatedDate>
  <UpdatedUserId>1</UpdatedUserId>
</Content>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Content'.

Response Information

Resource Description

Collection of ResponseMessage
NameDescriptionTypeAdditional information
Id

string

None.

ReferenceNo

string

None.

WholeSaleRegistrationId

string

None.

MessageType

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "ReferenceNo": "sample string 2",
    "WholeSaleRegistrationId": "sample string 3",
    "MessageType": 4,
    "Message": "sample string 5"
  },
  {
    "Id": "sample string 1",
    "ReferenceNo": "sample string 2",
    "WholeSaleRegistrationId": "sample string 3",
    "MessageType": 4,
    "Message": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfResponseMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <ResponseMessage>
    <Id>sample string 1</Id>
    <Message>sample string 5</Message>
    <MessageType>4</MessageType>
    <ReferenceNo>sample string 2</ReferenceNo>
    <WholeSaleRegistrationId>sample string 3</WholeSaleRegistrationId>
  </ResponseMessage>
  <ResponseMessage>
    <Id>sample string 1</Id>
    <Message>sample string 5</Message>
    <MessageType>4</MessageType>
    <ReferenceNo>sample string 2</ReferenceNo>
    <WholeSaleRegistrationId>sample string 3</WholeSaleRegistrationId>
  </ResponseMessage>
</ArrayOfResponseMessage>