GET api/Inspection/scoretypes?corp={corp}

Gets a list of possible Score Types.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
corp

Set to True to return only the corporately defined records

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

A list of score types

Collection of InspectionScoreType
NameDescriptionTypeAdditional information
ID

integer

None.

Description

string

String length: inclusive between 0 and 40

EnDescription

string

None.

AllowNA

boolean

None.

UserName

string

None.

LastChanged

date

None.

AccountID

integer

None.

IsSelectable

boolean

None.

IsEditable

boolean

None.

Choices

Collection of InspectionScoreTypeChoice

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Description": "sample string 2",
    "EnDescription": "samplestring2",
    "AllowNA": true,
    "UserName": "sample string 4",
    "LastChanged": "2024-05-18T06:16:23.8175773Z",
    "AccountID": 5,
    "IsSelectable": true,
    "IsEditable": true,
    "Choices": [
      {
        "ID": 1,
        "Description": "sample string 2",
        "EnDescription": "samplestring2",
        "Value": 3,
        "UserName": "sample string 4",
        "LastChanged": "2024-05-18T06:16:23.8175773Z",
        "InspectScoreTypeID": 5
      },
      {
        "ID": 1,
        "Description": "sample string 2",
        "EnDescription": "samplestring2",
        "Value": 3,
        "UserName": "sample string 4",
        "LastChanged": "2024-05-18T06:16:23.8175773Z",
        "InspectScoreTypeID": 5
      }
    ]
  },
  {
    "ID": 1,
    "Description": "sample string 2",
    "EnDescription": "samplestring2",
    "AllowNA": true,
    "UserName": "sample string 4",
    "LastChanged": "2024-05-18T06:16:23.8175773Z",
    "AccountID": 5,
    "IsSelectable": true,
    "IsEditable": true,
    "Choices": [
      {
        "ID": 1,
        "Description": "sample string 2",
        "EnDescription": "samplestring2",
        "Value": 3,
        "UserName": "sample string 4",
        "LastChanged": "2024-05-18T06:16:23.8175773Z",
        "InspectScoreTypeID": 5
      },
      {
        "ID": 1,
        "Description": "sample string 2",
        "EnDescription": "samplestring2",
        "Value": 3,
        "UserName": "sample string 4",
        "LastChanged": "2024-05-18T06:16:23.8175773Z",
        "InspectScoreTypeID": 5
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfInspectionScoreType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models">
  <InspectionScoreType>
    <AccountID>5</AccountID>
    <AllowNA>true</AllowNA>
    <Choices>
      <InspectionScoreTypeChoice>
        <Description>sample string 2</Description>
        <ID>1</ID>
        <InspectScoreTypeID>5</InspectScoreTypeID>
        <LastChanged>2024-05-18T06:16:23.8175773+00:00</LastChanged>
        <UserName>sample string 4</UserName>
        <Value>3</Value>
      </InspectionScoreTypeChoice>
      <InspectionScoreTypeChoice>
        <Description>sample string 2</Description>
        <ID>1</ID>
        <InspectScoreTypeID>5</InspectScoreTypeID>
        <LastChanged>2024-05-18T06:16:23.8175773+00:00</LastChanged>
        <UserName>sample string 4</UserName>
        <Value>3</Value>
      </InspectionScoreTypeChoice>
    </Choices>
    <Description>sample string 2</Description>
    <ID>1</ID>
    <IsEditable>true</IsEditable>
    <IsSelectable>true</IsSelectable>
    <LastChanged>2024-05-18T06:16:23.8175773+00:00</LastChanged>
    <UserName>sample string 4</UserName>
  </InspectionScoreType>
  <InspectionScoreType>
    <AccountID>5</AccountID>
    <AllowNA>true</AllowNA>
    <Choices>
      <InspectionScoreTypeChoice>
        <Description>sample string 2</Description>
        <ID>1</ID>
        <InspectScoreTypeID>5</InspectScoreTypeID>
        <LastChanged>2024-05-18T06:16:23.8175773+00:00</LastChanged>
        <UserName>sample string 4</UserName>
        <Value>3</Value>
      </InspectionScoreTypeChoice>
      <InspectionScoreTypeChoice>
        <Description>sample string 2</Description>
        <ID>1</ID>
        <InspectScoreTypeID>5</InspectScoreTypeID>
        <LastChanged>2024-05-18T06:16:23.8175773+00:00</LastChanged>
        <UserName>sample string 4</UserName>
        <Value>3</Value>
      </InspectionScoreTypeChoice>
    </Choices>
    <Description>sample string 2</Description>
    <ID>1</ID>
    <IsEditable>true</IsEditable>
    <IsSelectable>true</IsSelectable>
    <LastChanged>2024-05-18T06:16:23.8175773+00:00</LastChanged>
    <UserName>sample string 4</UserName>
  </InspectionScoreType>
</ArrayOfInspectionScoreType>