POST api/TemplateLogic/Save

Request Information

URI Parameters

None.

Body Parameters

CustomTemplateLogic
NameDescriptionTypeAdditional information
logicid

globally unique identifier

None.

TemplateId

integer

None.

Seq

integer

None.

logictype

string

None.

jsonvalue

string

None.

Description

string

None.

lstCondition

Collection of Condition_Select

None.

userPrincipalName

string

None.

connectionString

string

None.

SecretId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "logicid": "dd089072-6eb7-4b5b-9f38-7c443b214b3b",
  "TemplateId": 1,
  "Seq": 1,
  "logictype": "sample string 2",
  "jsonvalue": "sample string 3",
  "Description": "sample string 4",
  "lstCondition": [
    {
      "ColumnID": "sample string 1",
      "Column": "sample string 2",
      "Value": "sample string 3",
      "Seq": 4,
      "TemLineId": "sample string 5",
      "Temp_LineId": "sample string 6",
      "action": "sample string 7",
      "condition": "sample string 8",
      "userPrincipalName": "sample string 9",
      "connectionString": "sample string 10",
      "SecretId": null
    },
    {
      "ColumnID": "sample string 1",
      "Column": "sample string 2",
      "Value": "sample string 3",
      "Seq": 4,
      "TemLineId": "sample string 5",
      "Temp_LineId": "sample string 6",
      "action": "sample string 7",
      "condition": "sample string 8",
      "userPrincipalName": "sample string 9",
      "connectionString": "sample string 10",
      "SecretId": null
    }
  ],
  "userPrincipalName": "sample string 5",
  "connectionString": "sample string 6",
  "SecretId": null
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'System.Security.Cryptography.CryptoStream' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'System.Security.Cryptography.CryptoStream' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.