-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merging cost object documentation into Workflow documentation #1085
Conversation
@@ -101,64 +121,222 @@ PATCH operations in Expense Reports v4 conform to the JSON Merge Patch specifica | |||
|
|||
* [Approve/SendBack/Recall Report Response](#patch-approve-sendback-recall-report-response-schema) | |||
|
|||
### Example | |||
## View Cost Objects for a specific Report |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we call this as "Get" instead of "View" ?
* [RFC 7231 Accept-Encoding](https://tools.ietf.org/html/rfc7231#section-5.3.4) | ||
* [RFC 7235 Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) - Bearer Token that identifies the caller. | ||
This is the Company or User access token. | ||
* `Concur-CorrelationId` is a Concur specific custom header used for technical support in the form of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are not exposing Concur-CorrelationId
. It is considered as internal only param. Remove.
```shell | ||
curl --location --request GET https://integration.api.concursolutions.com/expensereports/v4/users/aa024d31-95eb-4270-b9yz-cb6b5f558a7c/reports/97F923D6935D4426BF9C/costObjectsForApprover | ||
--header 'Authorization: Bearer {access_token}' \ | ||
--header 'Concur-CorrelationId: abcd-efgh-xyzw' \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are not exposing Concur-CorrelationId
. It is considered as internal only param. Remove.
| `currencyCode` | `string` | - | **Required** The 3-letter ISO 4217 currency code for the expense report currency, based on the user's assigned reimbursement currency when the report was created. Examples: `USD` - US dollars; `BRL` - Brazilian real; `CAD` - Canadian dollar; `CHF` - Swiss franc; `EUR` - Euro; `GBO` - Pound sterling; `HKD` - Hong Kong dollar; `INR` - Indian rupee; `MXN` - Mexican peso; `NOK` - Norwegian krone; `SEK` - Swedish krona | | ||
| `value` | `number` | `double` | **Required** The amount in the defined currency. | | ||
|
||
### <a name="error-message-schema"></a>ErrorMessage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have this schema defined at the end
| `timestamp` | `string` | `date-time` | **Required** The time when the error was captured. | | ||
| `validationErrors` | [`ValidationError`](#validation-error-schema) | - | The validation error messages. | | ||
|
||
### <a name="validation-errors-schema"></a>ValidationError |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have this schema defined at the end
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JIRA: https://jira.concur.com/browse/ERS-16983
Background:
Between Project Manager Transitions an externalization effort was not fully completed. The goal of this Jira is to finish the job, and get the end point costObjectsForApprover fully available in general access.