Returns the current orders for a specific company.
FIELD | DESCRIPTION |
companyId | Required if no companyIdentifier (see below) is specified. String. |
companyIdentifier | Required if no Gofilex companyId (see above) is specified. Object. |
companyIdentifier.source | Required if the companyIdentifier object is provided. String. |
companyIdentifier.value | Required if the companyIdentifier object is provided. String. |
EMEA Portal
https://genie.portal.gofilex.com/api/publication/v1/orders/by/company
curl -vX POST https://genie.portal.gofilex.com/api/publication/v1/orders/by/company -d @by-company.json --header "Content-Type: application/json" --header "Authorization: Bearer BXrnipNekltq-sHFxpjdd90S17th2Q5mSaRf_4-Rayx"
APAC Portal
https://genie.portal.apac.gofilex.com/api/publication/v1/orders/by/company
curl -vX POST https://genie.portal.apac.gofilex.com/api/publication/v1/orders/by/company -d @by-company.json --header "Content-Type: application/json" --header "Authorization: Bearer BXrnipNekltq-sHFxpjdd90S17th2Q5mSaRf_4-Rayx"
MPS Portal
https://genie.portal.mps.gofilex.com/api/publication/v1/orders/by/company
curl -vX POST https://genie.portal.mps.gofilex.com/api/publication/v1/orders/by/company -d @by-company.json --header "Content-Type: application/json" --header "Authorization: Bearer BXrnipNekltq-sHFxpjdd90S17th2Q5mSaRf_4-Rayx"
NORAM Portal
https://genie.portal.gofilex.bydeluxe.com/api/publication/v1/orders/by/company
curl -vX POST https://genie.portal.gofilex.bydeluxe.com/api/publication/v1/orders/by/company -d @by-company.json --header "Content-Type: application/json" --header "Authorization: Bearer BXrnipNekltq-sHFxpjdd90S17th2Q5mSaRf_4-Rayx"
by-company.json
{
"companyId": "Dguys5uXRYngiDnFn"
}
You will get the active orders and orders finished in the last week.
[
{
"direction": "delivery",
"_owner": {
"name": "Vertigo Films",
"_id": "FdpHMKfzvcuXu4zDn"
},
"transferAfter": "2018-07-31T08: 00: 00.000Z",
"deliveryDue": "2018-08-02T04: 00: 00.000Z",
"_type": "transfer",
"description": "AmoureuxDeMaFe_TLR-OA_F_FR-XX_51_2K_20180323_M14_IOP_OV",
"company": {
"name": "Kinepolis Gent",
"_id": "Dguys5uXRYngiDnFn"
},
"_status": {
"state": "processing",
"progress": {
"step": 2377889848,
"total": 2377889848
}
},
"releaseAfter": "2018-07-31T08: 00: 00.000Z",
"_derived": {
"digitalCinemaPackages": [
{
"_id": "3vvpAHTsLC2mP3nht",
"uuid": "4779f66b-df93-4261-9303-f3971f81f19f"
}
],
"compositionPlaylists": [
{
"contentKind": "trailer",
"_id": "nDQtQQNGvkw7NzN8h",
"uuid": "d9ab475b-a82e-4071-9df2-d9acf38efeb7"
}
]
},
"medium": "electronic",
"_id": "8ebhivhRdLfvrxTKC",
"_created": {
"at": "2018-07-31T08: 32: 06.124Z"
}
},
{
"_derived": {
"versions": [],
"compositionPlaylists": [
{
"contentKind": "trailer",
"uuid": "3571c252-44f3-467b-9388-a6d158b70184",
"_id": "qsfFnHrECqJgMry7e"
}
],
"digitalCinemaPackages": [
{
"_id": "mwWTTSpnZgxKRfxe3",
"uuid": "0417d0ec-9261-4e8e-9575-24dec44dcbd4"
}
]
},
"_status": {
"finish": "2018-08-02T09: 29: 47.057Z",
"state": "completed",
"progress": {
"total": 1030981382,
"step": "1030981382"
}
},
"releaseAfter": "2018-08-01T10: 00: 00.000Z",
"medium": "electronic",
"_id": "ne5RCoePdbX7afhQK",
"_created": {
"at": "2018-08-01T10: 31: 32.741Z"
},
"_owner": {
"name": "Kinepolis Film Distributie",
"_id": "NwtuP8vwFwEz9aumZ"
},
"direction": "delivery",
"_type": "transfer",
"deliveryDue": "2018-08-09T04: 00: 00.000Z",
"transferAfter": "2018-08-01T10: 00: 00.000Z",
"description": "47-METERS-DOWN_TLR_F_EN-FRNL-CCAP_BE_51_2K_KFD_20170414_GOF_IOP_OV",
"company": {
"name": "Kinepolis Gent",
"_id": "Dguys5uXRYngiDnFn"
}
}
]