POST api/ApprovalMatrix/ApprovalMatrixItemListALL

Request Information

URI Parameters

None.

Body Parameters

CustomViewApprovalMatrix
NameDescriptionTypeAdditional information
ApproveMatrixId

integer

None.

ApproveMatrixItemId

integer

None.

Seq

integer

None.

PositionLevelId

integer

None.

NameTh

string

None.

NameEn

string

None.

CreatedBy

string

None.

CreatedDate

string

None.

ModifiedBy

string

None.

ModifiedDate

string

None.

ApproverId

integer

None.

IsActive

boolean

None.

AccountId

boolean

None.

AmountFrom

decimal number

None.

AmountTo

decimal number

None.

listcustomMatrixId

Collection of CustomMatrixId

None.

userPrincipalName

string

None.

connectionString

string

None.

SecretId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ApproveMatrixId": 1,
  "ApproveMatrixItemId": 2,
  "Seq": 3,
  "PositionLevelId": 4,
  "NameTh": "sample string 5",
  "NameEn": "sample string 6",
  "CreatedBy": "sample string 7",
  "CreatedDate": "sample string 8",
  "ModifiedBy": "sample string 9",
  "ModifiedDate": "sample string 10",
  "ApproverId": 11,
  "IsActive": true,
  "AccountId": true,
  "AmountFrom": 14.0,
  "AmountTo": 15.0,
  "listcustomMatrixId": [
    {
      "ApproveMatrixItemId": 1,
      "AmountFrom": 2.0,
      "AmountTo": 3.0,
      "NameTH": "sample string 4",
      "NameEN": "sample string 5",
      "isActive": true,
      "CreateBy": "sample string 7",
      "CreateDate": "sample string 8",
      "ApproverName": "sample string 9",
      "Amount": "sample string 10",
      "PositionLevelName": 11,
      "userPrincipalName": "sample string 12",
      "connectionString": "sample string 13",
      "SecretId": null
    },
    {
      "ApproveMatrixItemId": 1,
      "AmountFrom": 2.0,
      "AmountTo": 3.0,
      "NameTH": "sample string 4",
      "NameEN": "sample string 5",
      "isActive": true,
      "CreateBy": "sample string 7",
      "CreateDate": "sample string 8",
      "ApproverName": "sample string 9",
      "Amount": "sample string 10",
      "PositionLevelName": 11,
      "userPrincipalName": "sample string 12",
      "connectionString": "sample string 13",
      "SecretId": null
    }
  ],
  "userPrincipalName": "sample string 16",
  "connectionString": "sample string 17",
  "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 'CustomViewApprovalMatrix'.

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.