GET api/TillMenu/SourceCodes

Returns a collection of source codes. These identify the origin of a customer's interest in a company. It may be that they saw an offer in the paper for the company where they could receive a 10% discount if they quoted a certain voucher code. This voucher code might be tied to a source code, which would enable the marketing department to be able to report on how effective the mailshot was.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of EskimoClassLibraries.clsTillMenuSourceCode
NameDescriptionTypeAdditional information
CodeID

integer

Required

SourceCode

string

Required

CodeDescription

string

None.

ValidFrom

date

None.

ValidTo

date

None.

Active

boolean

None.

PriceList1

integer

None.

PriceList2

integer

None.

RequiresElevation

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CodeID": 1,
    "SourceCode": "sample string 2",
    "CodeDescription": "sample string 3",
    "ValidFrom": "2024-05-03T10:39:54.8668844+01:00",
    "ValidTo": "2024-05-03T10:39:54.8668844+01:00",
    "Active": true,
    "PriceList1": 1,
    "PriceList2": 1,
    "RequiresElevation": true
  },
  {
    "CodeID": 1,
    "SourceCode": "sample string 2",
    "CodeDescription": "sample string 3",
    "ValidFrom": "2024-05-03T10:39:54.8668844+01:00",
    "ValidTo": "2024-05-03T10:39:54.8668844+01:00",
    "Active": true,
    "PriceList1": 1,
    "PriceList2": 1,
    "RequiresElevation": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfclsTillMenuSourceCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries">
  <clsTillMenuSourceCode>
    <Active>true</Active>
    <CodeDescription>sample string 3</CodeDescription>
    <CodeID>1</CodeID>
    <PriceList1>1</PriceList1>
    <PriceList2>1</PriceList2>
    <RequiresElevation>true</RequiresElevation>
    <SourceCode>sample string 2</SourceCode>
    <ValidFrom>2024-05-03T10:39:54.8668844+01:00</ValidFrom>
    <ValidTo>2024-05-03T10:39:54.8668844+01:00</ValidTo>
  </clsTillMenuSourceCode>
  <clsTillMenuSourceCode>
    <Active>true</Active>
    <CodeDescription>sample string 3</CodeDescription>
    <CodeID>1</CodeID>
    <PriceList1>1</PriceList1>
    <PriceList2>1</PriceList2>
    <RequiresElevation>true</RequiresElevation>
    <SourceCode>sample string 2</SourceCode>
    <ValidFrom>2024-05-03T10:39:54.8668844+01:00</ValidFrom>
    <ValidTo>2024-05-03T10:39:54.8668844+01:00</ValidTo>
  </clsTillMenuSourceCode>
</ArrayOfclsTillMenuSourceCode>