GET api/AuditTypes

Gets all audit types.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A list of audit types.

Collection of AuditType
NameDescriptionTypeAdditional information
ID

The ID of the record.

integer

None.

AuditOrganizationID

The ID of the organization the audit is for.

integer

None.

Name

The name of the audit type.

string

None.

Description

The description of the audit type.

string

None.

PassingPercent

The percentage that is required in order to pass the audit.

decimal number

None.

HasFlock

Whether or not the audit is based around a particular flock.

boolean

None.

HasScore

Whether or not the audit has a score associated with it.

boolean

None.

AuditTypeItems

These are the items associated with the audit type.

Collection of AuditTypeItem

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "AuditOrganizationID": 2,
    "Name": "sample string 3",
    "Description": "sample string 4",
    "PassingPercent": 1.0,
    "HasFlock": true,
    "HasScore": true,
    "AuditTypeItems": [
      {
        "ID": 1,
        "AuditTypeID": 2,
        "QuestionNumber": "sample string 3",
        "QuestionOrdinal": 4,
        "Question": "sample string 5",
        "Guidance": "sample string 6",
        "IsRequired": true,
        "IsCoreCriteria": true,
        "IsInternalQuestion": true,
        "IsScoreNumeric": true,
        "LowestScore": 1.0,
        "HighestScore": 1.0
      },
      {
        "ID": 1,
        "AuditTypeID": 2,
        "QuestionNumber": "sample string 3",
        "QuestionOrdinal": 4,
        "Question": "sample string 5",
        "Guidance": "sample string 6",
        "IsRequired": true,
        "IsCoreCriteria": true,
        "IsInternalQuestion": true,
        "IsScoreNumeric": true,
        "LowestScore": 1.0,
        "HighestScore": 1.0
      }
    ]
  },
  {
    "ID": 1,
    "AuditOrganizationID": 2,
    "Name": "sample string 3",
    "Description": "sample string 4",
    "PassingPercent": 1.0,
    "HasFlock": true,
    "HasScore": true,
    "AuditTypeItems": [
      {
        "ID": 1,
        "AuditTypeID": 2,
        "QuestionNumber": "sample string 3",
        "QuestionOrdinal": 4,
        "Question": "sample string 5",
        "Guidance": "sample string 6",
        "IsRequired": true,
        "IsCoreCriteria": true,
        "IsInternalQuestion": true,
        "IsScoreNumeric": true,
        "LowestScore": 1.0,
        "HighestScore": 1.0
      },
      {
        "ID": 1,
        "AuditTypeID": 2,
        "QuestionNumber": "sample string 3",
        "QuestionOrdinal": 4,
        "Question": "sample string 5",
        "Guidance": "sample string 6",
        "IsRequired": true,
        "IsCoreCriteria": true,
        "IsInternalQuestion": true,
        "IsScoreNumeric": true,
        "LowestScore": 1.0,
        "HighestScore": 1.0
      }
    ]
  }
]