POST api/v1/ConfigWPGStandardTemplate/Update

Request Information

URI Parameters

None.

Body Parameters

ConfigWPGStandardTemplateModel
NameDescriptionTypeAdditional information
Id

string

None.

Subject

string

None.

Content

string

None.

Type

string

None.

StandardParentId

string

None.

OrderNo

integer

None.

Note

string

None.

StyleRow_Text

string

None.

StyleSubject

string

None.

StyleContent

string

None.

CanEditSubject

boolean

None.

CanEditContent

boolean

None.

Img_Width

integer

None.

Img_Height

integer

None.

Img_Style

string

None.

Img_DesStyle

string

None.

IsDisable

boolean

None.

Width

string

None.

APIUrl

string

None.

Tags

string

None.

SupportPrivateView

boolean

None.

ShowOnSecondView

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Subject": "sample string 2",
  "Content": "sample string 3",
  "Type": "sample string 4",
  "StandardParentId": "sample string 5",
  "OrderNo": 6,
  "Note": "sample string 7",
  "StyleRow_Text": "sample string 8",
  "StyleSubject": "sample string 9",
  "StyleContent": "sample string 10",
  "CanEditSubject": true,
  "CanEditContent": true,
  "Img_Width": 1,
  "Img_Height": 1,
  "Img_Style": "sample string 13",
  "Img_DesStyle": "sample string 14",
  "IsDisable": true,
  "Width": "sample string 16",
  "APIUrl": "sample string 17",
  "Tags": "sample string 18",
  "SupportPrivateView": true,
  "ShowOnSecondView": true
}

application/xml, text/xml

Sample:
<ConfigWPGStandardTemplateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <APIUrl>sample string 17</APIUrl>
  <CanEditContent>true</CanEditContent>
  <CanEditSubject>true</CanEditSubject>
  <Content>sample string 3</Content>
  <Id>sample string 1</Id>
  <Img_DesStyle>sample string 14</Img_DesStyle>
  <Img_Height>1</Img_Height>
  <Img_Style>sample string 13</Img_Style>
  <Img_Width>1</Img_Width>
  <IsDisable>true</IsDisable>
  <Note>sample string 7</Note>
  <OrderNo>6</OrderNo>
  <ShowOnSecondView>true</ShowOnSecondView>
  <StandardParentId>sample string 5</StandardParentId>
  <StyleContent>sample string 10</StyleContent>
  <StyleRow_Text>sample string 8</StyleRow_Text>
  <StyleSubject>sample string 9</StyleSubject>
  <Subject>sample string 2</Subject>
  <SupportPrivateView>true</SupportPrivateView>
  <Tags>sample string 18</Tags>
  <Type>sample string 4</Type>
  <Width>sample string 16</Width>
</ConfigWPGStandardTemplateModel>

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

Response Information

Resource Description

EzyResultObjectOfConfigWPGStandardTemplateModel
NameDescriptionTypeAdditional information
Data

ConfigWPGStandardTemplateModel

None.

ExtraData

Dictionary of string [key] and Object [value]

None.

StartTime

decimal number

None.

EndTime

decimal number

None.

TotalMili

decimal number

None.

StatusCode

integer

None.

Msg

string

None.

MsgShowInUI

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Id": "sample string 1",
    "Subject": "sample string 2",
    "Content": "sample string 3",
    "Type": "sample string 4",
    "StandardParentId": "sample string 5",
    "OrderNo": 6,
    "Note": "sample string 7",
    "StyleRow_Text": "sample string 8",
    "StyleSubject": "sample string 9",
    "StyleContent": "sample string 10",
    "CanEditSubject": true,
    "CanEditContent": true,
    "Img_Width": 1,
    "Img_Height": 1,
    "Img_Style": "sample string 13",
    "Img_DesStyle": "sample string 14",
    "IsDisable": true,
    "Width": "sample string 16",
    "APIUrl": "sample string 17",
    "Tags": "sample string 18",
    "SupportPrivateView": true,
    "ShowOnSecondView": true
  },
  "ExtraData": null,
  "StartTime": 1.1,
  "EndTime": 2.1,
  "TotalMili": 3.1,
  "StatusCode": 4,
  "Msg": "sample string 5",
  "MsgShowInUI": "sample string 6"
}

application/xml, text/xml

Sample:
<EzyResultObjectOfConfigWPGStandardTemplateModel3BwjWE5f xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
  <Msg>sample string 5</Msg>
  <MsgShowInUI>sample string 6</MsgShowInUI>
  <StatusCode>4</StatusCode>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
    <d2p1:APIUrl>sample string 17</d2p1:APIUrl>
    <d2p1:CanEditContent>true</d2p1:CanEditContent>
    <d2p1:CanEditSubject>true</d2p1:CanEditSubject>
    <d2p1:Content>sample string 3</d2p1:Content>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:Img_DesStyle>sample string 14</d2p1:Img_DesStyle>
    <d2p1:Img_Height>1</d2p1:Img_Height>
    <d2p1:Img_Style>sample string 13</d2p1:Img_Style>
    <d2p1:Img_Width>1</d2p1:Img_Width>
    <d2p1:IsDisable>true</d2p1:IsDisable>
    <d2p1:Note>sample string 7</d2p1:Note>
    <d2p1:OrderNo>6</d2p1:OrderNo>
    <d2p1:ShowOnSecondView>true</d2p1:ShowOnSecondView>
    <d2p1:StandardParentId>sample string 5</d2p1:StandardParentId>
    <d2p1:StyleContent>sample string 10</d2p1:StyleContent>
    <d2p1:StyleRow_Text>sample string 8</d2p1:StyleRow_Text>
    <d2p1:StyleSubject>sample string 9</d2p1:StyleSubject>
    <d2p1:Subject>sample string 2</d2p1:Subject>
    <d2p1:SupportPrivateView>true</d2p1:SupportPrivateView>
    <d2p1:Tags>sample string 18</d2p1:Tags>
    <d2p1:Type>sample string 4</d2p1:Type>
    <d2p1:Width>sample string 16</d2p1:Width>
  </Data>
  <EndTime>2.1</EndTime>
  <ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <StartTime>1.1</StartTime>
  <TotalMili>3.1</TotalMili>
</EzyResultObjectOfConfigWPGStandardTemplateModel3BwjWE5f>