GET api/{programid}/Timesheets/RejectionReasons

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programid

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of RejectionReasons
NameDescriptionTypeAdditional information
RejectionNo

string

None.

RejectionDescription

string

None.

MinRequired

integer

None.

IsVisible

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RejectionNo": "sample string 1",
    "RejectionDescription": "sample string 2",
    "MinRequired": 3,
    "IsVisible": 4
  },
  {
    "RejectionNo": "sample string 1",
    "RejectionDescription": "sample string 2",
    "MinRequired": 3,
    "IsVisible": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfRejectionReasons xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.NavisionData.Timesheets">
  <RejectionReasons>
    <IsVisible>4</IsVisible>
    <MinRequired>3</MinRequired>
    <RejectionDescription>sample string 2</RejectionDescription>
    <RejectionNo>sample string 1</RejectionNo>
  </RejectionReasons>
  <RejectionReasons>
    <IsVisible>4</IsVisible>
    <MinRequired>3</MinRequired>
    <RejectionDescription>sample string 2</RejectionDescription>
    <RejectionNo>sample string 1</RejectionNo>
  </RejectionReasons>
</ArrayOfRejectionReasons>