POST api/Template/TemSpecificApproverListByTemLineApprove

Request Information

URI Parameters

None.

Body Parameters

CustomTemLineApprove
NameDescriptionTypeAdditional information
TemLineId

integer

None.

TemplateId

integer

None.

Seq

integer

None.

MaxLevelId

integer

None.

ApprovalMatrixId

integer

None.

ApproveType

integer

None.

CompanyCode

integer

None.

Conditions

string

None.

CreatedDate

string

None.

CreatedBy

string

None.

ModifiedDate

string

None.

ModifiedBy

string

None.

IsActive

boolean

None.

lstCondition

Collection of Condition_Select

None.

IsParallel

boolean

None.

IsApproveAll

boolean

None.

ApproveSlot

integer

None.

IsSpecific

boolean

None.

IsSpecificLOC

boolean

None.

ApproveLOC_MaxLevelId

integer

None.

ColumnJsonCondValue

string

None.

userPrincipalName

string

None.

connectionString

string

None.

SecretId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TemLineId": 1,
  "TemplateId": 1,
  "Seq": 1,
  "MaxLevelId": 1,
  "ApprovalMatrixId": 1,
  "ApproveType": 1,
  "CompanyCode": 1,
  "Conditions": "sample string 2",
  "CreatedDate": "sample string 3",
  "CreatedBy": "sample string 4",
  "ModifiedDate": "sample string 5",
  "ModifiedBy": "sample string 6",
  "IsActive": true,
  "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
    }
  ],
  "IsParallel": true,
  "IsApproveAll": true,
  "ApproveSlot": 1,
  "IsSpecific": true,
  "IsSpecificLOC": true,
  "ApproveLOC_MaxLevelId": 1,
  "ColumnJsonCondValue": "sample string 7",
  "userPrincipalName": "sample string 8",
  "connectionString": "sample string 9",
  "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 'CustomTemLineApprove'.

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.