import requests
url = "https://api.paywise.de/v2/orders/{order_id}/requests-to-client/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paywise.de/v2/orders/{order_id}/requests-to-client/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.paywise.de/v2/orders/{order_id}/requests-to-client/{id}/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/v2/orders/{order_id}/requests-to-client/{id}/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
curl --request GET \
--url https://api.paywise.de/v2/orders/{order_id}/requests-to-client/{id}/ \
--header 'Authorization: Bearer <token>'{
"allowed_answer_types": "fileupload",
"answer": {
"additional_comment": "<string>",
"booking_date": "2023-12-25",
"created_at": "2023-11-07T05:31:56Z",
"documents": [
{
"created_at": "2023-11-07T05:31:56Z",
"download_url": "<string>",
"failure_reason": "page_limit_exceeded",
"filename": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mime_type": "<string>",
"parent": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "claim"
},
"status": "pending",
"type": "bank_statement",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
},
"answered": true,
"answered_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"href": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order": {
"href": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"question_attachments": [
{
"download_url": "<string>",
"filename": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mime_type": "<string>"
}
],
"title": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}{
"code": "not_authenticated",
"detail": "Authentication credentials were not provided."
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "not_found",
"detail": "The requested resource was not found."
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}Get order request to client
Published questions about one order, including orders awaiting review.
Answer once using the advertised answer type. Closed orders reject answers with 409. Review resumes after all published requests are answered. Documents become downloadable when ready. Only the authenticated company’s published requests are visible.
import requests
url = "https://api.paywise.de/v2/orders/{order_id}/requests-to-client/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paywise.de/v2/orders/{order_id}/requests-to-client/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.paywise.de/v2/orders/{order_id}/requests-to-client/{id}/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/v2/orders/{order_id}/requests-to-client/{id}/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
curl --request GET \
--url https://api.paywise.de/v2/orders/{order_id}/requests-to-client/{id}/ \
--header 'Authorization: Bearer <token>'{
"allowed_answer_types": "fileupload",
"answer": {
"additional_comment": "<string>",
"booking_date": "2023-12-25",
"created_at": "2023-11-07T05:31:56Z",
"documents": [
{
"created_at": "2023-11-07T05:31:56Z",
"download_url": "<string>",
"failure_reason": "page_limit_exceeded",
"filename": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mime_type": "<string>",
"parent": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "claim"
},
"status": "pending",
"type": "bank_statement",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
},
"answered": true,
"answered_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"href": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order": {
"href": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"question_attachments": [
{
"download_url": "<string>",
"filename": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mime_type": "<string>"
}
],
"title": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}{
"code": "not_authenticated",
"detail": "Authentication credentials were not provided."
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "not_found",
"detail": "The requested resource was not found."
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}Authorizations
Company-bound Case Management API key — the standard credential for this API.
Headers
Required when a Partner key calls the Case Management API; rejected for direct Case keys. Contains the entitled paywise company UUID.
Return 304 with an empty body when the current ETag matches one of the supplied validators (or *).
Path Parameters
UUID of the client request in this request.
UUID of the parent order in this request.
Response
Published order clarification, available before case acceptance.
Answer format accepted for this request.
fileupload- fileuploadfreetext- freetextyes-no- yes-noyes-no-dontknow- yes-no-dontknowyes-no-freetext-on-no- yes-no-freetext-on-noyes-with-date-no-freetext-on-no- yes-with-date-no-freetext-on-no
fileupload, freetext, yes-no, yes-no-dontknow, yes-no-freetext-on-no, yes-with-date-no-freetext-on-no Submitted answer, or null while unanswered.
Show child attributes
Show child attributes
Whether an answer has already been submitted.
Time at which the answer was submitted, when answered.
Time at which the request was created.
Question or explanation describing what paywise needs.
API URL of this client request.
Stable identifier of this client request.
Order for which paywise needs information.
Show child attributes
Show child attributes
Files paywise attached to the question.
Show child attributes
Show child attributes
Short subject of the requested information.
Time at which the request was last updated.
