GET api/Synergy/RequestByNumber?id={id}

Retrieve an request by its RequestNumber

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

RequestNumber

string

Required

Body Parameters

None.

Response Information

Resource Description

Request Model

Request
NameDescriptionTypeAdditional information
RequestID

string

None.

AccountID

string

None.

AccountContactID

string

None.

Approved

date

None.

Approver

integer

None.

AccountName

string

None.

Amount

decimal number

None.

AmountRealized

decimal number

None.

Description

string

None.

DurationInDay

decimal number

None.

DurationInDayRealized

decimal number

None.

DurationInHour

decimal number

None.

DurationInHourRealized

decimal number

None.

EndDate

date

None.

EndDateRealized

date

None.

ItemCode

string

None.

ItemCode2

string

None.

Modifier

integer

None.

ProjectNumber

string

None.

Quantity

decimal number

None.

Quantity2

decimal number

None.

QuantityRealized

decimal number

None.

QuantityRealized2

decimal number

None.

RequestNumber

integer

None.

RequestType

integer

None.

ResourceID

integer

None.

StartDate

date

None.

StartDateRealized

date

None.

Status

RequestStatus

None.

TextFreeField1

string

None.

TextFreeField4

string

None.

Response Formats

application/json, text/json

Sample:
{
  "RequestID": "sample string 1",
  "AccountID": "sample string 2",
  "AccountContactID": "sample string 3",
  "Approved": "2020-04-02T09:05:49.7777035+02:00",
  "Approver": 1,
  "AccountName": "sample string 4",
  "Amount": 1.1,
  "AmountRealized": 1.1,
  "Description": "sample string 5",
  "DurationInDay": 1.1,
  "DurationInDayRealized": 1.1,
  "DurationInHour": 1.1,
  "DurationInHourRealized": 1.1,
  "EndDate": "2020-04-02T09:05:49.7777035+02:00",
  "EndDateRealized": "2020-04-02T09:05:49.7777035+02:00",
  "ItemCode": "sample string 6",
  "ItemCode2": "sample string 7",
  "Modifier": 1,
  "ProjectNumber": "sample string 8",
  "Quantity": 1.1,
  "Quantity2": 1.1,
  "QuantityRealized": 1.1,
  "QuantityRealized2": 1.1,
  "RequestNumber": 1,
  "RequestType": 9,
  "ResourceID": 1,
  "StartDate": "2020-04-02T09:05:49.7777035+02:00",
  "StartDateRealized": "2020-04-02T09:05:49.7777035+02:00",
  "Status": 0,
  "TextFreeField1": "sample string 10",
  "TextFreeField4": "sample string 11"
}

application/xml, text/xml

Sample:
<Request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <RequestID>sample string 1</RequestID>
  <AccountID>sample string 2</AccountID>
  <AccountContactID>sample string 3</AccountContactID>
  <Approved>2020-04-02T09:05:49.7777035+02:00</Approved>
  <Approver>1</Approver>
  <AccountName>sample string 4</AccountName>
  <Amount>1.1</Amount>
  <AmountRealized>1.1</AmountRealized>
  <Description>sample string 5</Description>
  <DurationInDay>1.1</DurationInDay>
  <DurationInDayRealized>1.1</DurationInDayRealized>
  <DurationInHour>1.1</DurationInHour>
  <DurationInHourRealized>1.1</DurationInHourRealized>
  <EndDate>2020-04-02T09:05:49.7777035+02:00</EndDate>
  <EndDateRealized>2020-04-02T09:05:49.7777035+02:00</EndDateRealized>
  <ItemCode>sample string 6</ItemCode>
  <ItemCode2>sample string 7</ItemCode2>
  <Modifier>1</Modifier>
  <ProjectNumber>sample string 8</ProjectNumber>
  <Quantity>1.1</Quantity>
  <Quantity2>1.1</Quantity2>
  <QuantityRealized>1.1</QuantityRealized>
  <QuantityRealized2>1.1</QuantityRealized2>
  <RequestNumber>1</RequestNumber>
  <RequestType>9</RequestType>
  <ResourceID>1</ResourceID>
  <StartDate>2020-04-02T09:05:49.7777035+02:00</StartDate>
  <StartDateRealized>2020-04-02T09:05:49.7777035+02:00</StartDateRealized>
  <Status>Open</Status>
  <TextFreeField1>sample string 10</TextFreeField1>
  <TextFreeField4>sample string 11</TextFreeField4>
</Request>