POST api/ITILAuditModel/GetAuditAccounModel

Request Information

URI Parameters

None.

Body Parameters

ITILAuditModelWhereDOM
NameDescriptionTypeAdditional information
Account

string

None.

UserLevel

string

None.

ApplyProject

string

None.

OrgCode

string

None.

PageNum

integer

None.

NumPerPage

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Account": "sample string 1",
  "UserLevel": "sample string 2",
  "ApplyProject": "sample string 3",
  "OrgCode": "sample string 4",
  "PageNum": 1,
  "NumPerPage": 1
}

application/xml, text/xml

Sample:
<ITILAuditModelWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
  <Account>sample string 1</Account>
  <ApplyProject>sample string 3</ApplyProject>
  <OrgCode>sample string 4</OrgCode>
  <UserLevel>sample string 2</UserLevel>
</ITILAuditModelWhereDOM>

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

Response Information

Resource Description

Collection of ITILAuditModelDTO
NameDescriptionTypeAdditional information
ModelId

integer

None.

ModelName

string

String length: inclusive between 0 and 1000

Account

string

String length: inclusive between 0 and 50

CreateDate

date

None.

UserLevel

string

String length: inclusive between 0 and 1

ApplyProject

string

String length: inclusive between 0 and 1

Response Formats

application/json, text/json

Sample:
[
  {
    "ModelId": 1,
    "ModelName": "sample string 2",
    "Account": "sample string 3",
    "CreateDate": "2018-12-12T02:14:36.1221536+08:00",
    "UserLevel": "sample string 5",
    "ApplyProject": "sample string 6"
  },
  {
    "ModelId": 1,
    "ModelName": "sample string 2",
    "Account": "sample string 3",
    "CreateDate": "2018-12-12T02:14:36.1221536+08:00",
    "UserLevel": "sample string 5",
    "ApplyProject": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfITILAuditModelDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <ITILAuditModelDTO>
    <Account>sample string 3</Account>
    <ApplyProject>sample string 6</ApplyProject>
    <CreateDate>2018-12-12T02:14:36.1221536+08:00</CreateDate>
    <ModelId>1</ModelId>
    <ModelName>sample string 2</ModelName>
    <UserLevel>sample string 5</UserLevel>
  </ITILAuditModelDTO>
  <ITILAuditModelDTO>
    <Account>sample string 3</Account>
    <ApplyProject>sample string 6</ApplyProject>
    <CreateDate>2018-12-12T02:14:36.1221536+08:00</CreateDate>
    <ModelId>1</ModelId>
    <ModelName>sample string 2</ModelName>
    <UserLevel>sample string 5</UserLevel>
  </ITILAuditModelDTO>
</ArrayOfITILAuditModelDTO>