GET Advances/GetUnsettledAdvancesForCurrentUser

Gets the available MyAdvanceResponse containing a list of MyAdvance for the current user.


Response body formats

The AdvancesResponse

application/json, text/json

Sample:
{
  "List": [
    {
      "AccountId": 1,
      "AdvanceId": 2,
      "EmployeeId": 3,
      "CurrencyId": 4,
      "CurrencyName": "sample string 5",
      "CurrencySymbol": "sample string 6",
      "Name": "sample string 7",
      "Reason": "sample string 8",
      "RequiredBy": "2025-01-26T07:12:18.6527569+00:00",
      "Approved": true,
      "Approver": 11,
      "ApproverName": "sample string 12",
      "Amount": 13.0,
      "ForeignAmount": 14.0,
      "ExchangeRate": 15.1,
      "Stage": 64,
      "StageDescription": "sample string 17",
      "Rejected": true,
      "RejectReason": "sample string 19",
      "Disputed": true,
      "Dispute": "sample string 21",
      "Paid": true,
      "DatePaid": "2025-01-26T07:12:18.6527569+00:00",
      "IssueNumber": 24,
      "BaseCurrency": 25,
      "AdvanceUsed": 26.0,
      "Settled": true,
      "Allocations": {
        "1": 2.0,
        "3": 4.0,
        "5": 6.0
      },
      "CreatedOn": "2025-01-26T07:12:18.6689465+00:00",
      "CreatedBy": 29,
      "ModifiedOn": "2025-01-26T07:12:18.6689465+00:00",
      "ModifiedBy": 31
    },
    {
      "AccountId": 1,
      "AdvanceId": 2,
      "EmployeeId": 3,
      "CurrencyId": 4,
      "CurrencyName": "sample string 5",
      "CurrencySymbol": "sample string 6",
      "Name": "sample string 7",
      "Reason": "sample string 8",
      "RequiredBy": "2025-01-26T07:12:18.6527569+00:00",
      "Approved": true,
      "Approver": 11,
      "ApproverName": "sample string 12",
      "Amount": 13.0,
      "ForeignAmount": 14.0,
      "ExchangeRate": 15.1,
      "Stage": 64,
      "StageDescription": "sample string 17",
      "Rejected": true,
      "RejectReason": "sample string 19",
      "Disputed": true,
      "Dispute": "sample string 21",
      "Paid": true,
      "DatePaid": "2025-01-26T07:12:18.6527569+00:00",
      "IssueNumber": 24,
      "BaseCurrency": 25,
      "AdvanceUsed": 26.0,
      "Settled": true,
      "Allocations": {
        "1": 2.0,
        "3": 4.0,
        "5": 6.0
      },
      "CreatedOn": "2025-01-26T07:12:18.6689465+00:00",
      "CreatedBy": 29,
      "ModifiedOn": "2025-01-26T07:12:18.6689465+00:00",
      "ModifiedBy": 31
    },
    {
      "AccountId": 1,
      "AdvanceId": 2,
      "EmployeeId": 3,
      "CurrencyId": 4,
      "CurrencyName": "sample string 5",
      "CurrencySymbol": "sample string 6",
      "Name": "sample string 7",
      "Reason": "sample string 8",
      "RequiredBy": "2025-01-26T07:12:18.6527569+00:00",
      "Approved": true,
      "Approver": 11,
      "ApproverName": "sample string 12",
      "Amount": 13.0,
      "ForeignAmount": 14.0,
      "ExchangeRate": 15.1,
      "Stage": 64,
      "StageDescription": "sample string 17",
      "Rejected": true,
      "RejectReason": "sample string 19",
      "Disputed": true,
      "Dispute": "sample string 21",
      "Paid": true,
      "DatePaid": "2025-01-26T07:12:18.6527569+00:00",
      "IssueNumber": 24,
      "BaseCurrency": 25,
      "AdvanceUsed": 26.0,
      "Settled": true,
      "Allocations": {
        "1": 2.0,
        "3": 4.0,
        "5": 6.0
      },
      "CreatedOn": "2025-01-26T07:12:18.6689465+00:00",
      "CreatedBy": 29,
      "ModifiedOn": "2025-01-26T07:12:18.6689465+00:00",
      "ModifiedBy": 31
    }
  ],
  "ResponseInformation": {
    "Errors": [
      {
        "ErrorCode": "sample string 1",
        "Message": "sample string 2"
      },
      {
        "ErrorCode": "sample string 1",
        "Message": "sample string 2"
      },
      {
        "ErrorCode": "sample string 1",
        "Message": "sample string 2"
      }
    ],
    "Status": 0,
    "Links": [
      {
        "Rel": "sample string 1",
        "Href": "sample string 2",
        "Title": "sample string 3",
        "IsTemplated": true
      },
      {
        "Rel": "sample string 1",
        "Href": "sample string 2",
        "Title": "sample string 3",
        "IsTemplated": true
      },
      {
        "Rel": "sample string 1",
        "Href": "sample string 2",
        "Title": "sample string 3",
        "IsTemplated": true
      }
    ]
  }
}

application/xml, text/xml

Sample:
<MyAdvanceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpendManagementApi.Models.Responses">
  <ResponseInformation xmlns="http://schemas.datacontract.org/2004/07/SpendManagementApi.Models.Common">
    <Errors>
      <ApiErrorDetail>
        <ErrorCode>sample string 1</ErrorCode>
        <Message>sample string 2</Message>
      </ApiErrorDetail>
      <ApiErrorDetail>
        <ErrorCode>sample string 1</ErrorCode>
        <Message>sample string 2</Message>
      </ApiErrorDetail>
      <ApiErrorDetail>
        <ErrorCode>sample string 1</ErrorCode>
        <Message>sample string 2</Message>
      </ApiErrorDetail>
    </Errors>
    <Links>
      <Link>
        <Href>sample string 2</Href>
        <IsTemplated>true</IsTemplated>
        <Rel>sample string 1</Rel>
        <Title>sample string 3</Title>
      </Link>
      <Link>
        <Href>sample string 2</Href>
        <IsTemplated>true</IsTemplated>
        <Rel>sample string 1</Rel>
        <Title>sample string 3</Title>
      </Link>
      <Link>
        <Href>sample string 2</Href>
        <IsTemplated>true</IsTemplated>
        <Rel>sample string 1</Rel>
        <Title>sample string 3</Title>
      </Link>
    </Links>
    <Status>Failure</Status>
  </ResponseInformation>
  <List xmlns:d2p1="http://schemas.datacontract.org/2004/07/SpendManagementApi.Models.Types">
    <d2p1:MyAdvance>
      <d2p1:AccountId>1</d2p1:AccountId>
      <d2p1:AdvanceId>2</d2p1:AdvanceId>
      <d2p1:AdvanceUsed>26</d2p1:AdvanceUsed>
      <d2p1:Allocations xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfintdecimal>
          <d4p1:Key>1</d4p1:Key>
          <d4p1:Value>2</d4p1:Value>
        </d4p1:KeyValueOfintdecimal>
        <d4p1:KeyValueOfintdecimal>
          <d4p1:Key>3</d4p1:Key>
          <d4p1:Value>4</d4p1:Value>
        </d4p1:KeyValueOfintdecimal>
        <d4p1:KeyValueOfintdecimal>
          <d4p1:Key>5</d4p1:Key>
          <d4p1:Value>6</d4p1:Value>
        </d4p1:KeyValueOfintdecimal>
      </d2p1:Allocations>
      <d2p1:Amount>13</d2p1:Amount>
      <d2p1:Approved>true</d2p1:Approved>
      <d2p1:Approver>11</d2p1:Approver>
      <d2p1:ApproverName>sample string 12</d2p1:ApproverName>
      <d2p1:BaseCurrency>25</d2p1:BaseCurrency>
      <d2p1:CreatedBy>29</d2p1:CreatedBy>
      <d2p1:CreatedOn>2025-01-26T07:12:18.6689465+00:00</d2p1:CreatedOn>
      <d2p1:CurrencyId>4</d2p1:CurrencyId>
      <d2p1:CurrencyName>sample string 5</d2p1:CurrencyName>
      <d2p1:CurrencySymbol>sample string 6</d2p1:CurrencySymbol>
      <d2p1:DatePaid>2025-01-26T07:12:18.6527569+00:00</d2p1:DatePaid>
      <d2p1:Dispute>sample string 21</d2p1:Dispute>
      <d2p1:Disputed>true</d2p1:Disputed>
      <d2p1:EmployeeId>3</d2p1:EmployeeId>
      <d2p1:ExchangeRate>15.1</d2p1:ExchangeRate>
      <d2p1:ForeignAmount>14</d2p1:ForeignAmount>
      <d2p1:IssueNumber>24</d2p1:IssueNumber>
      <d2p1:ModifiedBy>31</d2p1:ModifiedBy>
      <d2p1:ModifiedOn>2025-01-26T07:12:18.6689465+00:00</d2p1:ModifiedOn>
      <d2p1:Name>sample string 7</d2p1:Name>
      <d2p1:Paid>true</d2p1:Paid>
      <d2p1:Reason>sample string 8</d2p1:Reason>
      <d2p1:RejectReason>sample string 19</d2p1:RejectReason>
      <d2p1:Rejected>true</d2p1:Rejected>
      <d2p1:RequiredBy>2025-01-26T07:12:18.6527569+00:00</d2p1:RequiredBy>
      <d2p1:Settled>true</d2p1:Settled>
      <d2p1:Stage>64</d2p1:Stage>
      <d2p1:StageDescription>sample string 17</d2p1:StageDescription>
    </d2p1:MyAdvance>
    <d2p1:MyAdvance>
      <d2p1:AccountId>1</d2p1:AccountId>
      <d2p1:AdvanceId>2</d2p1:AdvanceId>
      <d2p1:AdvanceUsed>26</d2p1:AdvanceUsed>
      <d2p1:Allocations xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfintdecimal>
          <d4p1:Key>1</d4p1:Key>
          <d4p1:Value>2</d4p1:Value>
        </d4p1:KeyValueOfintdecimal>
        <d4p1:KeyValueOfintdecimal>
          <d4p1:Key>3</d4p1:Key>
          <d4p1:Value>4</d4p1:Value>
        </d4p1:KeyValueOfintdecimal>
        <d4p1:KeyValueOfintdecimal>
          <d4p1:Key>5</d4p1:Key>
          <d4p1:Value>6</d4p1:Value>
        </d4p1:KeyValueOfintdecimal>
      </d2p1:Allocations>
      <d2p1:Amount>13</d2p1:Amount>
      <d2p1:Approved>true</d2p1:Approved>
      <d2p1:Approver>11</d2p1:Approver>
      <d2p1:ApproverName>sample string 12</d2p1:ApproverName>
      <d2p1:BaseCurrency>25</d2p1:BaseCurrency>
      <d2p1:CreatedBy>29</d2p1:CreatedBy>
      <d2p1:CreatedOn>2025-01-26T07:12:18.6689465+00:00</d2p1:CreatedOn>
      <d2p1:CurrencyId>4</d2p1:CurrencyId>
      <d2p1:CurrencyName>sample string 5</d2p1:CurrencyName>
      <d2p1:CurrencySymbol>sample string 6</d2p1:CurrencySymbol>
      <d2p1:DatePaid>2025-01-26T07:12:18.6527569+00:00</d2p1:DatePaid>
      <d2p1:Dispute>sample string 21</d2p1:Dispute>
      <d2p1:Disputed>true</d2p1:Disputed>
      <d2p1:EmployeeId>3</d2p1:EmployeeId>
      <d2p1:ExchangeRate>15.1</d2p1:ExchangeRate>
      <d2p1:ForeignAmount>14</d2p1:ForeignAmount>
      <d2p1:IssueNumber>24</d2p1:IssueNumber>
      <d2p1:ModifiedBy>31</d2p1:ModifiedBy>
      <d2p1:ModifiedOn>2025-01-26T07:12:18.6689465+00:00</d2p1:ModifiedOn>
      <d2p1:Name>sample string 7</d2p1:Name>
      <d2p1:Paid>true</d2p1:Paid>
      <d2p1:Reason>sample string 8</d2p1:Reason>
      <d2p1:RejectReason>sample string 19</d2p1:RejectReason>
      <d2p1:Rejected>true</d2p1:Rejected>
      <d2p1:RequiredBy>2025-01-26T07:12:18.6527569+00:00</d2p1:RequiredBy>
      <d2p1:Settled>true</d2p1:Settled>
      <d2p1:Stage>64</d2p1:Stage>
      <d2p1:StageDescription>sample string 17</d2p1:StageDescription>
    </d2p1:MyAdvance>
    <d2p1:MyAdvance>
      <d2p1:AccountId>1</d2p1:AccountId>
      <d2p1:AdvanceId>2</d2p1:AdvanceId>
      <d2p1:AdvanceUsed>26</d2p1:AdvanceUsed>
      <d2p1:Allocations xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfintdecimal>
          <d4p1:Key>1</d4p1:Key>
          <d4p1:Value>2</d4p1:Value>
        </d4p1:KeyValueOfintdecimal>
        <d4p1:KeyValueOfintdecimal>
          <d4p1:Key>3</d4p1:Key>
          <d4p1:Value>4</d4p1:Value>
        </d4p1:KeyValueOfintdecimal>
        <d4p1:KeyValueOfintdecimal>
          <d4p1:Key>5</d4p1:Key>
          <d4p1:Value>6</d4p1:Value>
        </d4p1:KeyValueOfintdecimal>
      </d2p1:Allocations>
      <d2p1:Amount>13</d2p1:Amount>
      <d2p1:Approved>true</d2p1:Approved>
      <d2p1:Approver>11</d2p1:Approver>
      <d2p1:ApproverName>sample string 12</d2p1:ApproverName>
      <d2p1:BaseCurrency>25</d2p1:BaseCurrency>
      <d2p1:CreatedBy>29</d2p1:CreatedBy>
      <d2p1:CreatedOn>2025-01-26T07:12:18.6689465+00:00</d2p1:CreatedOn>
      <d2p1:CurrencyId>4</d2p1:CurrencyId>
      <d2p1:CurrencyName>sample string 5</d2p1:CurrencyName>
      <d2p1:CurrencySymbol>sample string 6</d2p1:CurrencySymbol>
      <d2p1:DatePaid>2025-01-26T07:12:18.6527569+00:00</d2p1:DatePaid>
      <d2p1:Dispute>sample string 21</d2p1:Dispute>
      <d2p1:Disputed>true</d2p1:Disputed>
      <d2p1:EmployeeId>3</d2p1:EmployeeId>
      <d2p1:ExchangeRate>15.1</d2p1:ExchangeRate>
      <d2p1:ForeignAmount>14</d2p1:ForeignAmount>
      <d2p1:IssueNumber>24</d2p1:IssueNumber>
      <d2p1:ModifiedBy>31</d2p1:ModifiedBy>
      <d2p1:ModifiedOn>2025-01-26T07:12:18.6689465+00:00</d2p1:ModifiedOn>
      <d2p1:Name>sample string 7</d2p1:Name>
      <d2p1:Paid>true</d2p1:Paid>
      <d2p1:Reason>sample string 8</d2p1:Reason>
      <d2p1:RejectReason>sample string 19</d2p1:RejectReason>
      <d2p1:Rejected>true</d2p1:Rejected>
      <d2p1:RequiredBy>2025-01-26T07:12:18.6527569+00:00</d2p1:RequiredBy>
      <d2p1:Settled>true</d2p1:Settled>
      <d2p1:Stage>64</d2p1:Stage>
      <d2p1:StageDescription>sample string 17</d2p1:StageDescription>
    </d2p1:MyAdvance>
  </List>
</MyAdvanceResponse>
URI parameters
=
Headers | Add header
: Delete
Body
Samples:
Status
Headers
Body