GET api/Shared/services?filter={filter}

Gets the services for the user's campuses

Request Information

URI Parameters

NameDescriptionTypeAdditional information
filter

string

Required

Body Parameters

None.

Response Information

Resource Description

A list of services

Collection of SimpleService
NameDescriptionTypeAdditional information
AccountID

integer

None.

ID

integer

None.

Code

string

None.

Description

string

None.

IsClientVisible

boolean

None.

IsActive

boolean

None.

EnDescription

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AccountID": 1,
    "ID": 2,
    "Code": "sample string 3",
    "Description": "sample string 4",
    "IsClientVisible": true,
    "IsActive": true,
    "EnDescription": "samplestring4"
  },
  {
    "AccountID": 1,
    "ID": 2,
    "Code": "sample string 3",
    "Description": "sample string 4",
    "IsClientVisible": true,
    "IsActive": true,
    "EnDescription": "samplestring4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSimpleService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models">
  <SimpleService>
    <AccountID>1</AccountID>
    <Code>sample string 3</Code>
    <Description>sample string 4</Description>
    <ID>2</ID>
    <IsActive>true</IsActive>
    <IsClientVisible>true</IsClientVisible>
  </SimpleService>
  <SimpleService>
    <AccountID>1</AccountID>
    <Code>sample string 3</Code>
    <Description>sample string 4</Description>
    <ID>2</ID>
    <IsActive>true</IsActive>
    <IsClientVisible>true</IsClientVisible>
  </SimpleService>
</ArrayOfSimpleService>