Get a Job File
GEThttps://api.moltin.com/v2/jobs/:jobID/file
Retrieves a link to the CSV file that contains your exported order.
Request
Path Parameters
jobID stringrequired
The unique identifier of the job whose CSC file you want to retrieve.
Responses
- 200
- 404
- 500
- application/json
- Schema
- Example (auto)
Schema
data object
{
"data": {
"href": "string"
}
}
Forbidden. The operation is forbidden on this entity.
- application/json
- Schema
- Example (auto)
Schema
errors Error[]required
{
"title": "Resource Not Found",
"status": 404,
"detail": "The resource you are requesting does not exist"
}
Internal server error. There was a system failure in the platform.
- application/json
- Schema
- Example (auto)
- internal-server-error
Schema
errors Error[]required
{
"errors": [
{
"status": 500,
"title": "Internal server error",
"detail": "An internal error has occurred.",
"request_id": "00000000-0000-0000-0000-000000000000",
"meta": {
"missing_ids": [
"e7d50bd5-1833-43c0-9848-f9d325b08be8"
]
}
}
]
}
{
"errors": [
{
"status": 500,
"title": "Internal Server Error",
"detail": "There was an internal server error, you can report with your request id.",
"request_id": "635da56d-75a1-43cd-b696-7ab119756b3a"
}
]
}
Authorization: http
name: bearerAuthtype: httpscheme: bearer
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.moltin.com/v2/jobs/:jobID/file");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear