POST api/{programid}/ConsumerReimbursements

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programid

string

Required

Body Parameters

SubmitReimbursementParams
NameDescriptionTypeAdditional information
UserName

string

None.

ConsumerId

string

None.

EmployeeId

string

None.

DateOfService

string

None.

TimesheetId

string

None.

LineNo

integer

None.

LineId

integer

None.

ServiceCode

string

None.

Units

decimal number

None.

Rate

decimal number

None.

Notes

string

None.

Attachments

Collection of FileAttachmentSubmit

None.

TotalReceiptsAmount

decimal number

None.

TimesheetStatus

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "ConsumerId": "sample string 2",
  "EmployeeId": "sample string 3",
  "DateOfService": "sample string 4",
  "TimesheetId": "sample string 5",
  "LineNo": 6,
  "LineId": 7,
  "ServiceCode": "sample string 8",
  "Units": 9.1,
  "Rate": 10.1,
  "Notes": "sample string 11",
  "Attachments": [
    {
      "FileId": 1,
      "FileName": "sample string 2",
      "FileLocation": "sample string 3"
    },
    {
      "FileId": 1,
      "FileName": "sample string 2",
      "FileLocation": "sample string 3"
    }
  ],
  "TotalReceiptsAmount": 1.1,
  "TimesheetStatus": "sample string 12"
}

application/xml, text/xml

Sample:
<SubmitReimbursementParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Consumer">
  <Attachments>
    <SubmitReimbursementParams.FileAttachmentSubmit>
      <FileId>1</FileId>
      <FileLocation>sample string 3</FileLocation>
      <FileName>sample string 2</FileName>
    </SubmitReimbursementParams.FileAttachmentSubmit>
    <SubmitReimbursementParams.FileAttachmentSubmit>
      <FileId>1</FileId>
      <FileLocation>sample string 3</FileLocation>
      <FileName>sample string 2</FileName>
    </SubmitReimbursementParams.FileAttachmentSubmit>
  </Attachments>
  <ConsumerId>sample string 2</ConsumerId>
  <DateOfService>sample string 4</DateOfService>
  <EmployeeId>sample string 3</EmployeeId>
  <LineId>7</LineId>
  <LineNo>6</LineNo>
  <Notes>sample string 11</Notes>
  <Rate>10.1</Rate>
  <ServiceCode>sample string 8</ServiceCode>
  <TimesheetId>sample string 5</TimesheetId>
  <TimesheetStatus>sample string 12</TimesheetStatus>
  <TotalReceiptsAmount>1.1</TotalReceiptsAmount>
  <Units>9.1</Units>
  <UserName>sample string 1</UserName>
</SubmitReimbursementParams>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SubmitReimbursementParams'.

Response Information

Resource Description

ReimbursementLine
NameDescriptionTypeAdditional information
ConsumerId

string

None.

EmployeeId

string

None.

DateOfService

string

None.

TimesheetId

string

None.

UniqueLineKey

integer

None.

LineId

integer

None.

TimesheetStatus

string

None.

ServiceCode

string

None.

ServiceDescription

string

None.

PendMessages

Collection of string

None.

SubmittedRate

decimal number

None.

Units

decimal number

None.

Amount

decimal number

None.

UnitOfMeasure

string

None.

Notes

string

None.

Attachments

Collection of FileAttachment

None.

AllowEdit

boolean

None.

AllowSubmit

boolean

None.

AllowDelete

boolean

None.

RejectionNote

string

None.

LineStatus

string

None.

TotalReceiptsAmount

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "ConsumerId": "sample string 1",
  "EmployeeId": "sample string 2",
  "DateOfService": "sample string 3",
  "TimesheetId": "sample string 4",
  "UniqueLineKey": 5,
  "LineId": 6,
  "TimesheetStatus": "sample string 7",
  "ServiceCode": "sample string 8",
  "ServiceDescription": "sample string 9",
  "PendMessages": [
    "sample string 1",
    "sample string 2"
  ],
  "SubmittedRate": 10.1,
  "Units": 11.1,
  "Amount": 12.1,
  "UnitOfMeasure": "sample string 13",
  "Notes": "sample string 14",
  "Attachments": [
    {
      "FileId": 1,
      "FileName": "sample string 2",
      "FileLocation": "sample string 3"
    },
    {
      "FileId": 1,
      "FileName": "sample string 2",
      "FileLocation": "sample string 3"
    }
  ],
  "AllowEdit": true,
  "AllowSubmit": true,
  "AllowDelete": true,
  "RejectionNote": "sample string 18",
  "LineStatus": "sample string 19",
  "TotalReceiptsAmount": 1.1
}

application/xml, text/xml

Sample:
<ReimbursementLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Consumer">
  <AllowDelete>true</AllowDelete>
  <AllowEdit>true</AllowEdit>
  <AllowSubmit>true</AllowSubmit>
  <Amount>12.1</Amount>
  <Attachments>
    <FileAttachment>
      <FileId>1</FileId>
      <FileLocation>sample string 3</FileLocation>
      <FileName>sample string 2</FileName>
    </FileAttachment>
    <FileAttachment>
      <FileId>1</FileId>
      <FileLocation>sample string 3</FileLocation>
      <FileName>sample string 2</FileName>
    </FileAttachment>
  </Attachments>
  <ConsumerId>sample string 1</ConsumerId>
  <DateOfService>sample string 3</DateOfService>
  <EmployeeId>sample string 2</EmployeeId>
  <LineId>6</LineId>
  <LineStatus>sample string 19</LineStatus>
  <Notes>sample string 14</Notes>
  <PendMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </PendMessages>
  <RejectionNote>sample string 18</RejectionNote>
  <ServiceCode>sample string 8</ServiceCode>
  <ServiceDescription>sample string 9</ServiceDescription>
  <SubmittedRate>10.1</SubmittedRate>
  <TimesheetId>sample string 4</TimesheetId>
  <TimesheetStatus>sample string 7</TimesheetStatus>
  <TotalReceiptsAmount>1.1</TotalReceiptsAmount>
  <UniqueLineKey>5</UniqueLineKey>
  <UnitOfMeasure>sample string 13</UnitOfMeasure>
  <Units>11.1</Units>
</ReimbursementLine>