GET api/Job/GetSaltCodeMapping?isPriorityTask={isPriorityTask}&isShop={isShop}&isBoth={isBoth}&isPickup={isPickup}

Request Information

URI Parameters

Name Description Type Additional information
isPriorityTask

boolean

Required

isShop

boolean

Default value is False

isBoth

boolean

Default value is False

isPickup

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Collection of SaltCodeModel
Name Description Type Additional information
Id

integer

None.

Code

integer

None.

ProblemText

string

None.

IsActive

boolean

None.

IsDeliveryExpected

boolean

None.

IsInsecureDelivery

boolean

None.

IsFreeText

boolean

None.

ProblemCode

integer

None.

IsDeliveryExpectedChangeable

boolean

None.

IsInsecureDeliveryChangeable

boolean

None.

IsDeadLineOnly

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Code": 2,
    "ProblemText": "sample string 3",
    "IsActive": true,
    "IsDeliveryExpected": true,
    "IsInsecureDelivery": true,
    "IsFreeText": true,
    "ProblemCode": 1,
    "IsDeliveryExpectedChangeable": true,
    "IsInsecureDeliveryChangeable": true,
    "IsDeadLineOnly": true
  },
  {
    "Id": 1,
    "Code": 2,
    "ProblemText": "sample string 3",
    "IsActive": true,
    "IsDeliveryExpected": true,
    "IsInsecureDelivery": true,
    "IsFreeText": true,
    "ProblemCode": 1,
    "IsDeliveryExpectedChangeable": true,
    "IsInsecureDeliveryChangeable": true,
    "IsDeadLineOnly": true
  }
]

text/html

Sample:
[{"Id":1,"Code":2,"ProblemText":"sample string 3","IsActive":true,"IsDeliveryExpected":true,"IsInsecureDelivery":true,"IsFreeText":true,"ProblemCode":1,"IsDeliveryExpectedChangeable":true,"IsInsecureDeliveryChangeable":true,"IsDeadLineOnly":true},{"Id":1,"Code":2,"ProblemText":"sample string 3","IsActive":true,"IsDeliveryExpected":true,"IsInsecureDelivery":true,"IsFreeText":true,"ProblemCode":1,"IsDeliveryExpectedChangeable":true,"IsInsecureDeliveryChangeable":true,"IsDeadLineOnly":true}]

application/xml, text/xml

Sample:
<ArrayOfSaltCodeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAO.Models.Job">
  <SaltCodeModel>
    <Code>2</Code>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <IsDeadLineOnly>true</IsDeadLineOnly>
    <IsDeliveryExpected>true</IsDeliveryExpected>
    <IsDeliveryExpectedChangeable>true</IsDeliveryExpectedChangeable>
    <IsFreeText>true</IsFreeText>
    <IsInsecureDelivery>true</IsInsecureDelivery>
    <IsInsecureDeliveryChangeable>true</IsInsecureDeliveryChangeable>
    <ProblemCode>1</ProblemCode>
    <ProblemText>sample string 3</ProblemText>
  </SaltCodeModel>
  <SaltCodeModel>
    <Code>2</Code>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <IsDeadLineOnly>true</IsDeadLineOnly>
    <IsDeliveryExpected>true</IsDeliveryExpected>
    <IsDeliveryExpectedChangeable>true</IsDeliveryExpectedChangeable>
    <IsFreeText>true</IsFreeText>
    <IsInsecureDelivery>true</IsInsecureDelivery>
    <IsInsecureDeliveryChangeable>true</IsInsecureDeliveryChangeable>
    <ProblemCode>1</ProblemCode>
    <ProblemText>sample string 3</ProblemText>
  </SaltCodeModel>
</ArrayOfSaltCodeModel>