POST api/Category/SaveStatusDefine

Request Information

URI Parameters

None.

Body Parameters

SocialNetworkLabel
NameDescriptionTypeAdditional information
MongoID

string

None.

Id

integer

None.

LabelCode

string

None.

LabelName

string

None.

LabelColor

string

None.

LabelTypeId

integer

None.

SocialNetworkId

integer

None.

ObjectSocialNetworkId

string

None.

SocialNetwork

Object

None.

CreateDate

date

None.

ModifyDate

date

None.

CreateUserId

integer

None.

ModifyUserId

integer

None.

Status

string

None.

ReferenceId

string

None.

StatusDefineId

integer

None.

TotalRow

integer

None.

SocialNetworkLabelId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MongoID": "sample string 1",
  "Id": 2,
  "LabelCode": "sample string 3",
  "LabelName": "sample string 4",
  "LabelColor": "sample string 5",
  "LabelTypeId": 1,
  "SocialNetworkId": 1,
  "ObjectSocialNetworkId": "sample string 6",
  "SocialNetwork": {},
  "CreateDate": "2026-06-14T00:47:00.7143536+07:00",
  "ModifyDate": "2026-06-14T00:47:00.7143536+07:00",
  "CreateUserId": 1,
  "ModifyUserId": 1,
  "Status": "sample string 8",
  "ReferenceId": "sample string 9",
  "StatusDefineId": 1,
  "TotalRow": 1,
  "SocialNetworkLabelId": "sample string 10"
}

application/xml, text/xml

Sample:
<SocialNetworkLabel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBM.Portal.DAL.Entity">
  <CreateDate>2026-06-14T00:47:00.7143536+07:00</CreateDate>
  <CreateUserId>1</CreateUserId>
  <Id>2</Id>
  <LabelCode>sample string 3</LabelCode>
  <LabelColor>sample string 5</LabelColor>
  <LabelName>sample string 4</LabelName>
  <LabelTypeId>1</LabelTypeId>
  <ModifyDate>2026-06-14T00:47:00.7143536+07:00</ModifyDate>
  <ModifyUserId>1</ModifyUserId>
  <MongoID>sample string 1</MongoID>
  <ObjectSocialNetworkId>sample string 6</ObjectSocialNetworkId>
  <ReferenceId>sample string 9</ReferenceId>
  <SocialNetwork />
  <SocialNetworkId>1</SocialNetworkId>
  <SocialNetworkLabelId>sample string 10</SocialNetworkLabelId>
  <Status>sample string 8</Status>
  <StatusDefineId>1</StatusDefineId>
  <TotalRow>1</TotalRow>
</SocialNetworkLabel>

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 'SocialNetworkLabel'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />