SelSup Developers

Le public API · API Référence

Job

Les points de fin pour le travail, y compris les itinéraires exacts, les paramètres, les organismes de demande et les schémas de réponse extensibles.

Les points de fin: 10/api/jobStableDéclaration lisible par machine ↗
{ }

Cette page est soutenue par un contrat indépendant éditable. Valider les opérations de rédaction avec des données de test avant utilisation de production.

/api/job

Flux de travail prêts à l'emploi

Flux de travail prêts à l'emploi

01

Commencez à utiliser Job

Utilisez un jeton API dédié et validez d'abord les opérations de lecture avec les données de test.

  1. Gardez le jeton côté serveur et envoyez-le dans l'en-tête Authorization.
  2. Vérifiez les paramètres requis et élargissez le schéma de demande ou de réponse.
  3. Traiter l'état HTTP et le champ stable error dans les erreurs d'application.

Modèle de données

Structures de données

Les modèles sont énumérés une fois ici et peuvent également être étendus directement depuis les terminaux qui les utilisent.

FulfillmentJobTariffType8 champs
idstring

Id.

namestring

Nom.

pricenumber · double

Le prix.

warehouseIdinteger · int64

Identification de l'entrepôt.

currencystring

La monnaie.

minimumAmountnumber · double

- Le montant minimum.

validFromstring

Valide depuis.

validTostring

Valables pour.

FulfillmentOrganizationPrice4 champs
organizationIdinteger · int64

Identification de l'organisation.

vatModestring

Mode de réception.

vatRatenumber · double

Le taux de cotisation.

vatIncludedboolean

VAT inclus.

FulfillmentPlannedPrice6 champs
pricenumber · double

Le prix.

validFromstring · date-time

Valide depuis.

validTostring · date-time

Valables pour.

indefiniteboolean

Indéfiniment.

currencystring

La monnaie.

minimumAmountnumber · double

- Le montant minimum.

FulfillmentPriceVariant23 champs
idstring

Id.

namestring

Nom.

subjectstring

Le sujet.

weightFromnumber · double

Le poids de.

weightTonumber · double

Le poids à.

weightUnitstring

Unité de poids.

lengthFromnumber · double

La longueur de.

lengthTonumber · double

La longueur à.

widthFromnumber · double

La largeur de.

widthTonumber · double

La largeur à.

heightFromnumber · double

De la hauteur.

heightTonumber · double

À hauteur.

countFromnumber · double

Le comte de.

countTonumber · double

Le comte à.

countUnitstring

Unité de comte.

surchargeMetricstring

- Surcharge métrique.

pricenumber · double

Le prix.

modestring

Le mode.

surchargeThresholdnumber · double

Le seuil de surcharge.

surchargeStepnumber · double

Pas de surcharge.

surchargeAmountnumber · double

Montant de surcharge.

roundPartialStepUpboolean

Un pas partiel.

clientPricesFulfillmentPriceVariantClientPrice[]

Les prix des clients.

FulfillmentPriceVariantClientPrice2 champs
clientIdinteger · int64

Nom du client.

pricenumber · double

Le prix.

Job44 champs
idinteger · int32

Id.

namestring

Nom.

categoryClassstring

Classe de catégorie.

clientIdinteger · int64

Nom du client.

organizationIdinteger · int64

Identification de l'organisation.

deletedboolean

Il a été supprimé.

positionIdinteger · int64

Identification de la position.

versionIdinteger · int64

- La version ID.

createdUserstring

Créé par l'utilisateur.

createdDatestring · date-time

Date créée.

pricenumber · double

Le prix.

fulfillmentServiceboolean

Service de réalisation.

fulfillmentServiceTypestring

Type de service de réalisation.

logisticsTemplatestring

Template de logistique.

logisticsPricingConfigLogisticsPricingConfig

Configuration des prix de la logistique.

showInFulfillmentProfileboolean

Afficher le profil de réalisation.

fulfillmentProfileWarehouseIdsinteger[]

Identification de l'entrepôt de profil de réalisation.

descriptionstring

Une description.

workCategorystring

Catégorie de travail.

calculationUnitstring

Unité de calcul.

automaticRequestTypesstring[]

Types de requête automatiques.

storageMethodstring

Métode de stockage.

storageUnitstring

Unité de stockage.

storagePricingConfigStoragePricingConfig

Configuration des prix de stockage.

vatModestring

Mode de réception.

fulfillmentCategorystring

Catégorie de réalisation.

unitstring

Unité.

currencystring

La monnaie.

employeeRatenumber · double

Taux de travail.

employeeCurrencystring

La monnaie des employés.

vatRatenumber · double

Le taux de cotisation.

vatIncludedboolean

VAT inclus.

organizationPricesFulfillmentOrganizationPrice[]

Prix de l'organisation.

plannedClientPriceFulfillmentPlannedPrice

Le prix prévu pour le client.

priceVariantsFulfillmentPriceVariant[]

Des variantes de prix.

tariffTypesFulfillmentJobTariffType[]

Les types de tarifs.

minimumAmountnumber · double

- Le montant minimum.

priceValidFromstring · date-time

Le prix est valide à partir.

priceValidTostring · date-time

Le prix est valable.

employeeRateValidFromstring · date-time

Taux de travail valide à partir de.

employeeRateValidTostring · date-time

Taux de travail valide à.

sampleboolean

Un échantillon.

seedCodestring

Le code des graines.

read-only
tariffsJobTariff[]

Les tarifs.

JobTariff17 champs
idinteger · int64

Id.

jobIdinteger · int32

Nom de travail.

pricenumber · double

Le prix.

clientIdinteger · int64

Nom du client.

employeeRatenumber · double

Taux de travail.

brandIdinteger · int32

Nom de marque.

categoryClassstring

Classe de catégorie.

categoryIdinteger · int32

Identification de catégorie

priorityinteger · int32

La priorité.

productIdinteger · int64

Identification du produit.

minQuantityinteger · int32

La quantité minimale.

maxQuantityinteger · int32

Max Quantité.

validFromstring · date-time

Valide depuis.

validTostring · date-time

Valables pour.

changedAtstring · date-time

Il a changé.

quantityTointeger · int32

Quantité à.

quantityFrominteger · int32

Quantité de.

LogisticsPricingConfig5 champs
originstring

L'origine.

templatestring

Le modèle.

routesLogisticsTariff[]

Les routes.

savedRoutesLogisticsTariff[]

Les routes sauvées.

ownPointsOwnPoint[]

Des points propres.

LogisticsTariff21 champs
pointNamestring

Nom du point.

marketplacestring

Le marché.

marketplaceWarehouseIdinteger · int64

Identification de l'entrepôt du marché.

destinationTypestring

Type de destination.

addressstring

Une adresse.

vehiclestring

- Un véhicule.

vehicleNamestring

Nom du véhicule.

transportFormatstring

Format de transport.

transportUnitstring

Unité de transport.

pricingTypestring

Le type de prix.

firstUnitPricenumber · double

Première unité de prix.

nextUnitPricenumber · double

Le prochain prix unitaire.

pricePerUnitnumber · double

Prix par unité.

maximumUnitsinteger · int32

Unités maximales.

maximumSurchargedUnitsinteger · int32

Unités surchargées maximales.

fixedPricenumber · double

Le prix fixe.

commentstring

Comment ?

freeWaitingHoursnumber · double

Des heures d'attente gratuites.

waitingPricePerHournumber · double

Le prix à l'heure.

waitRoundingstring

Attends le tour.

waitingTariffsLogisticsWaitingTariff[]

Attendant les tarifs.

LogisticsWaitingTariff5 champs
vehiclestring

- Un véhicule.

vehicleNamestring

Nom du véhicule.

freeWaitingHoursnumber · double

Des heures d'attente gratuites.

waitingPricePerHournumber · double

Le prix à l'heure.

waitRoundingstring

Attends le tour.

OwnPoint4 champs
pointNamestring

Nom du point.

addressstring

Une adresse.

marketplacestring

Le marché.

destinationTypestring

Type de destination.

StoragePricePeriod2 champs
toDayinteger · int32

À Day.

pricenumber · double

Le prix.

StoragePricingConfig10 champs
chargeBasisstring

Base de charge.

timeUnitstring

Unité du temps.

monthlyCalculationstring

Le calcul mensuel.

freeDaysinteger · int32

Des jours libres.

agePricingEnabledboolean

Prix à l'âge autorisé.

ageBasisstring

Base d'âge.

pricePeriodsStoragePricePeriod[]

Les périodes de prix.

minimumQuantitynumber · double

Quantité minimale.

roundingStepnumber · double

Pas de ronde.

dispatchDaystring

Le jour du dépêchement.

FulfillmentLogisticsPoint4 champs
pointNamestring

Nom du point.

addressstring

Une adresse.

marketplacestring

Le marché.

destinationTypestring

Type de destination.

FulfillmentJobImportEntry4 champs
rowNumberinteger · int32

Le numéro de rangée.

jobJob

Je suis un emploi.

actionstring

- L'action.

errorstring

Une erreur.

FulfillmentJobImportPreview7 champs
previewIdstring

- Je vous en prie.

entriesFulfillmentJobImportEntry[]

Des inscriptions.

createdinteger · int32

Créé.

updatedinteger · int32

- Je suis à jour.

archivedinteger · int32

- Elle est archivée.

errorsinteger · int32

Des erreurs.

validboolean

- Il est valide.

JobTariffHistory17 champs
idinteger · int64

Id.

jobIdinteger · int32

Nom de travail.

tariffIdinteger · int64

Identification des tarifs douaniers.

eventTypestring

Type d'événement.

pricenumber · double

Le prix.

employeeRatenumber · double

Taux de travail.

clientIdinteger · int64

Nom du client.

brandIdinteger · int32

Nom de marque.

categoryClassstring

Classe de catégorie.

categoryIdinteger · int32

Identification de catégorie

productIdinteger · int64

Identification du produit.

quantityFrominteger · int32

Quantité de.

quantityTointeger · int32

Quantité à.

validFromstring · date-time

Valide depuis.

validTostring · date-time

Valables pour.

changedAtstring · date-time

Il a changé.

changedBystring

Ça a changé.

Contrats d'erreur

Comment les erreurs d'application sont retournées

Le code error est identique dans chaque locale, tandis que le message d'utilisateur est traduit par le serveur.

Le projet de loi

Code stable lisible par machine pour la logique d'intégration.

Le projet de loi

Message prêt à être affiché dans la langue de l'utilisateur de jeton API.

Le projet de loi

Les valeurs interpolées par le serveur dans le modèle de message localisé.

文

localMessage utilise le champ lang de l'utilisateur qui possède le jeton API. Le langage de documentation et l'en-tête Accept-Language ne le modifient pas; le russe est utilisé lorsque l'usager n'a pas de langue configurée.

RULocalisation de l'utilisateur est ru
{
  "error": "error_brand_already_exists",
  "localMessage": "Бренд Base уже существует",
  "params": {
    "name": "Base"
  }
}
FRFrançais (fr)
{
  "error": "error_brand_already_exists",
  "localMessage": "La marque Base existe déjà",
  "params": {
    "name": "Base"
  }
}

Les points de fin

Les points de fin

PUT

Mettez le travail

/api/job/{jobId}
Token avec accès à l'écriture

Mettre le travail à l'aide de PUT /api/job/{jobId}.

Parametres de parcours

ChampTypeObligatoireDescription
jobId integer · int32 Oui Nom de travail.

Organisme de demande

application/json
champs d'objetJob
ChampTypeObligatoireDescription
id integer · int32 Non Id.
name string Non Nom.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS Non Classe de catégorie.
clientId integer · int64 Non Nom du client.
organizationId integer · int64 Non Identification de l'organisation.
deleted boolean Non Il a été supprimé.
positionId integer · int64 Non Identification de la position.
versionId integer · int64 Non - La version ID.
createdUser string Non Créé par l'utilisateur.
createdDate string · date-time Non Date créée.
price number · double Non Le prix.
fulfillmentService boolean Non Service de réalisation.
fulfillmentServiceType string Non Type de service de réalisation.
logisticsTemplate string Non Template de logistique.
logisticsPricingConfig LogisticsPricingConfig Non Configuration des prix de la logistique.
champs d'objet LogisticsPricingConfig
ChampTypeObligatoireDescription
origin string Non L'origine.
template string Non Le modèle.
routes LogisticsTariff[] Non Les routes.
Structure des éléments de l'array LogisticsTariff
ChampTypeObligatoireDescription
pointName string Non Nom du point.
marketplace string Non Le marché.
marketplaceWarehouseId integer · int64 Non Identification de l'entrepôt du marché.
destinationType string Non Type de destination.
address string Non Une adresse.
vehicle string Non - Un véhicule.
vehicleName string Non Nom du véhicule.
transportFormat string Non Format de transport.
transportUnit string Non Unité de transport.
pricingType string Non Le type de prix.
firstUnitPrice number · double Non Première unité de prix.
nextUnitPrice number · double Non Le prochain prix unitaire.
pricePerUnit number · double Non Prix par unité.
maximumUnits integer · int32 Non Unités maximales.
maximumSurchargedUnits integer · int32 Non Unités surchargées maximales.
fixedPrice number · double Non Le prix fixe.
comment string Non Comment ?
freeWaitingHours number · double Non Des heures d'attente gratuites.
waitingPricePerHour number · double Non Le prix à l'heure.
waitRounding string Non Attends le tour.
waitingTariffs LogisticsWaitingTariff[] Non Attendant les tarifs.
savedRoutes LogisticsTariff[] Non Les routes sauvées.
Structure des éléments de l'array LogisticsTariff
ChampTypeObligatoireDescription
pointName string Non Nom du point.
marketplace string Non Le marché.
marketplaceWarehouseId integer · int64 Non Identification de l'entrepôt du marché.
destinationType string Non Type de destination.
address string Non Une adresse.
vehicle string Non - Un véhicule.
vehicleName string Non Nom du véhicule.
transportFormat string Non Format de transport.
transportUnit string Non Unité de transport.
pricingType string Non Le type de prix.
firstUnitPrice number · double Non Première unité de prix.
nextUnitPrice number · double Non Le prochain prix unitaire.
pricePerUnit number · double Non Prix par unité.
maximumUnits integer · int32 Non Unités maximales.
maximumSurchargedUnits integer · int32 Non Unités surchargées maximales.
fixedPrice number · double Non Le prix fixe.
comment string Non Comment ?
freeWaitingHours number · double Non Des heures d'attente gratuites.
waitingPricePerHour number · double Non Le prix à l'heure.
waitRounding string Non Attends le tour.
waitingTariffs LogisticsWaitingTariff[] Non Attendant les tarifs.
ownPoints OwnPoint[] Non Des points propres.
Structure des éléments de l'array OwnPoint
ChampTypeObligatoireDescription
pointName string Non Nom du point.
address string Non Une adresse.
marketplace string Non Le marché.
destinationType string Non Type de destination.
showInFulfillmentProfile boolean Non Afficher le profil de réalisation.
fulfillmentProfileWarehouseIds integer[] Non Identification de l'entrepôt de profil de réalisation.
description string Non Une description.
workCategory string Non Catégorie de travail.
calculationUnit string Non Unité de calcul.
automaticRequestTypes string[] Non Types de requête automatiques.
storageMethod stringVOLUME, ITEM, PALLET, CELL, FIXED Non Métode de stockage.
storageUnit stringCUBIC_METER_DAY, LITER_DAY, ITEM_DAY, PALLET_DAY, CELL_DAY, PERIOD Non Unité de stockage.
storagePricingConfig StoragePricingConfig Non Configuration des prix de stockage.
champs d'objet StoragePricingConfig
ChampTypeObligatoireDescription
chargeBasis string Non Base de charge.
timeUnit string Non Unité du temps.
monthlyCalculation string Non Le calcul mensuel.
freeDays integer · int32 Non Des jours libres.
agePricingEnabled boolean Non Prix à l'âge autorisé.
ageBasis string Non Base d'âge.
pricePeriods StoragePricePeriod[] Non Les périodes de prix.
Structure des éléments de l'array StoragePricePeriod
ChampTypeObligatoireDescription
toDay integer · int32 Non À Day.
price number · double Non Le prix.
minimumQuantity number · double Non Quantité minimale.
roundingStep number · double Non Pas de ronde.
dispatchDay string Non Le jour du dépêchement.
vatMode stringNONE, RATE, COMPANY_SETTINGS Non Mode de réception.
fulfillmentCategory string Non Catégorie de réalisation.
unit string Non Unité.
currency string Non La monnaie.
employeeRate number · double Non Taux de travail.
employeeCurrency string Non La monnaie des employés.
vatRate number · double Non Le taux de cotisation.
vatIncluded boolean Non VAT inclus.
organizationPrices FulfillmentOrganizationPrice[] Non Prix de l'organisation.
Structure des éléments de l'array FulfillmentOrganizationPrice
ChampTypeObligatoireDescription
organizationId integer · int64 Non Identification de l'organisation.
vatMode string Non Mode de réception.
vatRate number · double Non Le taux de cotisation.
vatIncluded boolean Non VAT inclus.
plannedClientPrice FulfillmentPlannedPrice Non Le prix prévu pour le client.
champs d'objet FulfillmentPlannedPrice
ChampTypeObligatoireDescription
price number · double Non Le prix.
validFrom string · date-time Non Valide depuis.
validTo string · date-time Non Valables pour.
indefinite boolean Non Indéfiniment.
currency string Non La monnaie.
minimumAmount number · double Non - Le montant minimum.
priceVariants FulfillmentPriceVariant[] Non Des variantes de prix.
Structure des éléments de l'array FulfillmentPriceVariant
ChampTypeObligatoireDescription
id string Non Id.
name string Non Nom.
subject string Non Le sujet.
weightFrom number · double Non Le poids de.
weightTo number · double Non Le poids à.
weightUnit string Non Unité de poids.
lengthFrom number · double Non La longueur de.
lengthTo number · double Non La longueur à.
widthFrom number · double Non La largeur de.
widthTo number · double Non La largeur à.
heightFrom number · double Non De la hauteur.
heightTo number · double Non À hauteur.
countFrom number · double Non Le comte de.
countTo number · double Non Le comte à.
countUnit string Non Unité de comte.
surchargeMetric string Non - Surcharge métrique.
price number · double Non Le prix.
mode string Non Le mode.
surchargeThreshold number · double Non Le seuil de surcharge.
surchargeStep number · double Non Pas de surcharge.
surchargeAmount number · double Non Montant de surcharge.
roundPartialStepUp boolean Non Un pas partiel.
clientPrices FulfillmentPriceVariantClientPrice[] Non Les prix des clients.
Structure des éléments de l'array FulfillmentPriceVariantClientPrice
ChampTypeObligatoireDescription
clientId integer · int64 Non Nom du client.
price number · double Non Le prix.
tariffTypes FulfillmentJobTariffType[] Non Les types de tarifs.
Structure des éléments de l'array FulfillmentJobTariffType
ChampTypeObligatoireDescription
id string Non Id.
name string Non Nom.
price number · double Non Le prix.
warehouseId integer · int64 Non Identification de l'entrepôt.
currency string Non La monnaie.
minimumAmount number · double Non - Le montant minimum.
validFrom string Non Valide depuis.
validTo string Non Valables pour.
minimumAmount number · double Non - Le montant minimum.
priceValidFrom string · date-time Non Le prix est valide à partir.
priceValidTo string · date-time Non Le prix est valable.
employeeRateValidFrom string · date-time Non Taux de travail valide à partir de.
employeeRateValidTo string · date-time Non Taux de travail valide à.
sample boolean Non Un échantillon.
seedCode string Non Le code des graines.
tariffs JobTariff[] Non Les tarifs.
Structure des éléments de l'array JobTariff
ChampTypeObligatoireDescription
id integer · int64 Non Id.
jobId integer · int32 Non Nom de travail.
price number · double Non Le prix.
clientId integer · int64 Non Nom du client.
employeeRate number · double Non Taux de travail.
brandId integer · int32 Non Nom de marque.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS Non Classe de catégorie.
categoryId integer · int32 Non Identification de catégorie
priority integer · int32 Non La priorité.
productId integer · int64 Non Identification du produit.
minQuantity integer · int32 Non La quantité minimale.
maxQuantity integer · int32 Non Max Quantité.
validFrom string · date-time Non Valide depuis.
validTo string · date-time Non Valables pour.
changedAt string · date-time Non Il a changé.
quantityTo integer · int32 Non Quantité à.
quantityFrom integer · int32 Non Quantité de.
curl --request PUT 'https://api.selsup.ru/api/job/1001' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1001,
  "name": "Example",
  "categoryClass": "SHOES",
  "clientId": 1001,
  "organizationId": 1001,
  "deleted": false
}'

Réponse réussie

200
champs d'objet Job
ChampTypeObligatoireDescription
id integer · int32 Non Id.
name string Non Nom.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS Non Classe de catégorie.
clientId integer · int64 Non Nom du client.
organizationId integer · int64 Non Identification de l'organisation.
deleted boolean Non Il a été supprimé.
positionId integer · int64 Non Identification de la position.
versionId integer · int64 Non - La version ID.
createdUser string Non Créé par l'utilisateur.
createdDate string · date-time Non Date créée.
price number · double Non Le prix.
fulfillmentService boolean Non Service de réalisation.
fulfillmentServiceType string Non Type de service de réalisation.
logisticsTemplate string Non Template de logistique.
logisticsPricingConfig LogisticsPricingConfig Non Configuration des prix de la logistique.
champs d'objet LogisticsPricingConfig
ChampTypeObligatoireDescription
origin string Non L'origine.
template string Non Le modèle.
routes LogisticsTariff[] Non Les routes.
Structure des éléments de l'array LogisticsTariff
ChampTypeObligatoireDescription
pointName string Non Nom du point.
marketplace string Non Le marché.
marketplaceWarehouseId integer · int64 Non Identification de l'entrepôt du marché.
destinationType string Non Type de destination.
address string Non Une adresse.
vehicle string Non - Un véhicule.
vehicleName string Non Nom du véhicule.
transportFormat string Non Format de transport.
transportUnit string Non Unité de transport.
pricingType string Non Le type de prix.
firstUnitPrice number · double Non Première unité de prix.
nextUnitPrice number · double Non Le prochain prix unitaire.
pricePerUnit number · double Non Prix par unité.
maximumUnits integer · int32 Non Unités maximales.
maximumSurchargedUnits integer · int32 Non Unités surchargées maximales.
fixedPrice number · double Non Le prix fixe.
comment string Non Comment ?
freeWaitingHours number · double Non Des heures d'attente gratuites.
waitingPricePerHour number · double Non Le prix à l'heure.
waitRounding string Non Attends le tour.
waitingTariffs LogisticsWaitingTariff[] Non Attendant les tarifs.
savedRoutes LogisticsTariff[] Non Les routes sauvées.
Structure des éléments de l'array LogisticsTariff
ChampTypeObligatoireDescription
pointName string Non Nom du point.
marketplace string Non Le marché.
marketplaceWarehouseId integer · int64 Non Identification de l'entrepôt du marché.
destinationType string Non Type de destination.
address string Non Une adresse.
vehicle string Non - Un véhicule.
vehicleName string Non Nom du véhicule.
transportFormat string Non Format de transport.
transportUnit string Non Unité de transport.
pricingType string Non Le type de prix.
firstUnitPrice number · double Non Première unité de prix.
nextUnitPrice number · double Non Le prochain prix unitaire.
pricePerUnit number · double Non Prix par unité.
maximumUnits integer · int32 Non Unités maximales.
maximumSurchargedUnits integer · int32 Non Unités surchargées maximales.
fixedPrice number · double Non Le prix fixe.
comment string Non Comment ?
freeWaitingHours number · double Non Des heures d'attente gratuites.
waitingPricePerHour number · double Non Le prix à l'heure.
waitRounding string Non Attends le tour.
waitingTariffs LogisticsWaitingTariff[] Non Attendant les tarifs.
ownPoints OwnPoint[] Non Des points propres.
Structure des éléments de l'array OwnPoint
ChampTypeObligatoireDescription
pointName string Non Nom du point.
address string Non Une adresse.
marketplace string Non Le marché.
destinationType string Non Type de destination.
showInFulfillmentProfile boolean Non Afficher le profil de réalisation.
fulfillmentProfileWarehouseIds integer[] Non Identification de l'entrepôt de profil de réalisation.
description string Non Une description.
workCategory string Non Catégorie de travail.
calculationUnit string Non Unité de calcul.
automaticRequestTypes string[] Non Types de requête automatiques.
storageMethod stringVOLUME, ITEM, PALLET, CELL, FIXED Non Métode de stockage.
storageUnit stringCUBIC_METER_DAY, LITER_DAY, ITEM_DAY, PALLET_DAY, CELL_DAY, PERIOD Non Unité de stockage.
storagePricingConfig StoragePricingConfig Non Configuration des prix de stockage.
champs d'objet StoragePricingConfig
ChampTypeObligatoireDescription
chargeBasis string Non Base de charge.
timeUnit string Non Unité du temps.
monthlyCalculation string Non Le calcul mensuel.
freeDays integer · int32 Non Des jours libres.
agePricingEnabled boolean Non Prix à l'âge autorisé.
ageBasis string Non Base d'âge.
pricePeriods StoragePricePeriod[] Non Les périodes de prix.
Structure des éléments de l'array StoragePricePeriod
ChampTypeObligatoireDescription
toDay integer · int32 Non À Day.
price number · double Non Le prix.
minimumQuantity number · double Non Quantité minimale.
roundingStep number · double Non Pas de ronde.
dispatchDay string Non Le jour du dépêchement.
vatMode stringNONE, RATE, COMPANY_SETTINGS Non Mode de réception.
fulfillmentCategory string Non Catégorie de réalisation.
unit string Non Unité.
currency string Non La monnaie.
employeeRate number · double Non Taux de travail.
employeeCurrency string Non La monnaie des employés.
vatRate number · double Non Le taux de cotisation.
vatIncluded boolean Non VAT inclus.
organizationPrices FulfillmentOrganizationPrice[] Non Prix de l'organisation.
Structure des éléments de l'array FulfillmentOrganizationPrice
ChampTypeObligatoireDescription
organizationId integer · int64 Non Identification de l'organisation.
vatMode string Non Mode de réception.
vatRate number · double Non Le taux de cotisation.
vatIncluded boolean Non VAT inclus.
plannedClientPrice FulfillmentPlannedPrice Non Le prix prévu pour le client.
champs d'objet FulfillmentPlannedPrice
ChampTypeObligatoireDescription
price number · double Non Le prix.
validFrom string · date-time Non Valide depuis.
validTo string · date-time Non Valables pour.
indefinite boolean Non Indéfiniment.
currency string Non La monnaie.
minimumAmount number · double Non - Le montant minimum.
priceVariants FulfillmentPriceVariant[] Non Des variantes de prix.
Structure des éléments de l'array FulfillmentPriceVariant
ChampTypeObligatoireDescription
id string Non Id.
name string Non Nom.
subject string Non Le sujet.
weightFrom number · double Non Le poids de.
weightTo number · double Non Le poids à.
weightUnit string Non Unité de poids.
lengthFrom number · double Non La longueur de.
lengthTo number · double Non La longueur à.
widthFrom number · double Non La largeur de.
widthTo number · double Non La largeur à.
heightFrom number · double Non De la hauteur.
heightTo number · double Non À hauteur.
countFrom number · double Non Le comte de.
countTo number · double Non Le comte à.
countUnit string Non Unité de comte.
surchargeMetric string Non - Surcharge métrique.
price number · double Non Le prix.
mode string Non Le mode.
surchargeThreshold number · double Non Le seuil de surcharge.
surchargeStep number · double Non Pas de surcharge.
surchargeAmount number · double Non Montant de surcharge.
roundPartialStepUp boolean Non Un pas partiel.
clientPrices FulfillmentPriceVariantClientPrice[] Non Les prix des clients.
Structure des éléments de l'array FulfillmentPriceVariantClientPrice
ChampTypeObligatoireDescription
clientId integer · int64 Non Nom du client.
price number · double Non Le prix.
tariffTypes FulfillmentJobTariffType[] Non Les types de tarifs.
Structure des éléments de l'array FulfillmentJobTariffType
ChampTypeObligatoireDescription
id string Non Id.
name string Non Nom.
price number · double Non Le prix.
warehouseId integer · int64 Non Identification de l'entrepôt.
currency string Non La monnaie.
minimumAmount number · double Non - Le montant minimum.
validFrom string Non Valide depuis.
validTo string Non Valables pour.
minimumAmount number · double Non - Le montant minimum.
priceValidFrom string · date-time Non Le prix est valide à partir.
priceValidTo string · date-time Non Le prix est valable.
employeeRateValidFrom string · date-time Non Taux de travail valide à partir de.
employeeRateValidTo string · date-time Non Taux de travail valide à.
sample boolean Non Un échantillon.
seedCode string Non Le code des graines.
tariffs JobTariff[] Non Les tarifs.
Structure des éléments de l'array JobTariff
ChampTypeObligatoireDescription
id integer · int64 Non Id.
jobId integer · int32 Non Nom de travail.
price number · double Non Le prix.
clientId integer · int64 Non Nom du client.
employeeRate number · double Non Taux de travail.
brandId integer · int32 Non Nom de marque.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS Non Classe de catégorie.
categoryId integer · int32 Non Identification de catégorie
priority integer · int32 Non La priorité.
productId integer · int64 Non Identification du produit.
minQuantity integer · int32 Non La quantité minimale.
maxQuantity integer · int32 Non Max Quantité.
validFrom string · date-time Non Valide depuis.
validTo string · date-time Non Valables pour.
changedAt string · date-time Non Il a changé.
quantityTo integer · int32 Non Quantité à.
quantityFrom integer · int32 Non Quantité de.
{
  "id": 1001,
  "name": "Example",
  "categoryClass": "SHOES",
  "clientId": 1001,
  "organizationId": 1001,
  "deleted": false
}
Les erreurs20

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

400error_cant_extract_tariffs
Impossible d'obtenir les tarifs. Contactez le support

error spécifique au point final. Utilisez le code error_cant_extract_tariffs stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_empty_job_price
Prix pour l'exécution du travail non spécifié

error spécifique au point final. Utilisez le code error_empty_job_price stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_empty_tariff_price
Prix non spécifié pour le tarif n°{position}

error spécifique au point final. Utilisez le code error_empty_tariff_price stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_empty_tariff_priority
Priorité non spécifiée pour le tarif

error spécifique au point final. Utilisez le code error_empty_tariff_priority stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_empty_tariffs
Tarifs non spécifiés

error spécifique au point final. Utilisez le code error_empty_tariffs stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_fulfillment_catalog_organization_required
Organisation du catalogue de réalisation requise

error spécifique au point final. Utilisez le code error_fulfillment_catalog_organization_required stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_fulfillment_invalid_client_pricing
Invalid organization price configuration

error spécifique au point final. Utilisez le code error_fulfillment_invalid_client_pricing stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_invalid_fulfillment_logistics_template
Sélectionnez un modèle logistique

error spécifique au point final. Utilisez le code error_invalid_fulfillment_logistics_template stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_invalid_fulfillment_service_type
Type de service de fulfillment invalide

error spécifique au point final. Utilisez le code error_invalid_fulfillment_service_type stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_job_already_exists
La tâche avec le nom {jobName} existe déjà

error spécifique au point final. Utilisez le code error_job_already_exists stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_job_modified
Les données du travail sont déjà mises à jour. Actualisez la page.

error spécifique au point final. Utilisez le code error_job_modified stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_job_tariff_wrong_product_id
Identifiant du produit incorrectement spécifié : {id}

error spécifique au point final. Utilisez le code error_job_tariff_wrong_product_id stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_logistics_invalid_pricing_config
Configuration de prix de logistique non valide

error spécifique au point final. Utilisez le code error_logistics_invalid_pricing_config stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_no_client
Client introuvable ou supprimé. Écrivez au support

error spécifique au point final. Utilisez le code error_no_client stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_storage_invalid_pricing_config
Paramètres de tarification du stockage invalides

error spécifique au point final. Utilisez le code error_storage_invalid_pricing_config stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_storage_invalid_pricing_periods
Vérifiez les limites et les prix des périodes de stockage

error spécifique au point final. Utilisez le code error_storage_invalid_pricing_periods stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_storage_invalid_work
Travaux non valides de stockage

error spécifique au point final. Utilisez le code error_storage_invalid_work stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

DELETE

Enlevez Job

/api/job/{jobId}
Token avec accès à l'écriture

Supprimer le travail à l'aide de DELETE /api/job/{jobId}.

Parametres de parcours

ChampTypeObligatoireDescription
jobId integer · int32 Oui Nom de travail.

Paramètres de requête

ChampTypeObligatoireDescription
deleted boolean Oui Il a été supprimé.
curl --request DELETE 'https://api.selsup.ru/api/job/1001?deleted=false' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200
"string"
Les erreurs6

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

400error_cant_extract_tariffs
Impossible d'obtenir les tarifs. Contactez le support

error spécifique au point final. Utilisez le code error_cant_extract_tariffs stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_job_modified
Les données du travail sont déjà mises à jour. Actualisez la page.

error spécifique au point final. Utilisez le code error_job_modified stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_no_client
Client introuvable ou supprimé. Écrivez au support

error spécifique au point final. Utilisez le code error_no_client stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

GET

Obtenez des points logistiques de réalisation

/api/job/fulfillment/logistics-points
Token avec accès à la lecture

Obtenez des points logistiques de réalisation à l'aide de GET /api/job/fulfillment/logistics-points.

curl --request GET 'https://api.selsup.ru/api/job/fulfillment/logistics-points' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200
Structure des éléments de l'array FulfillmentLogisticsPoint[]
ChampTypeObligatoireDescription
pointName string Non Nom du point.
address string Non Une adresse.
marketplace string Non Le marché.
destinationType string Non Type de destination.
[
  "string"
]
Les erreurs3

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

PUT

Économiser des points logistiques de réalisation

/api/job/fulfillment/logistics-points
Token avec accès à l'écriture

Enregistrer les points de logistique de remplissage à l'aide de PUT /api/job/fulfillment/logistics-points.

Organisme de demande

application/json
Structure des éléments de l'arrayFulfillmentLogisticsPoint[]
ChampTypeObligatoireDescription
pointName string Non Nom du point.
address string Non Une adresse.
marketplace string Non Le marché.
destinationType string Non Type de destination.
curl --request PUT 'https://api.selsup.ru/api/job/fulfillment/logistics-points' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '[
  "string"
]'

Réponse réussie

200
Structure des éléments de l'array FulfillmentLogisticsPoint[]
ChampTypeObligatoireDescription
pointName string Non Nom du point.
address string Non Une adresse.
marketplace string Non Le marché.
destinationType string Non Type de destination.
[
  "string"
]
Les erreurs3

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

POST

Prévisualisation des travaux réalisés

/api/job/fulfillment/excel/preview
Token avec accès à l'écriture

Prévisualisation L'exécution fonctionne à l'aide de POST /api/job/fulfillment/excel/preview.

Paramètres de requête

ChampTypeObligatoireDescription
organizationId integer · int64 Non Identification de l'organisation.

Organisme de demande

multipart/form-data
ChampTypeObligatoireDescription
file string · binary Oui Le dossier.
curl --request POST 'https://api.selsup.ru/api/job/fulfillment/excel/preview' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --form 'file=@./file.bin'

Réponse réussie

200
champs d'objet FulfillmentJobImportPreview
ChampTypeObligatoireDescription
previewId string Non - Je vous en prie.
entries FulfillmentJobImportEntry[] Non Des inscriptions.
Structure des éléments de l'array FulfillmentJobImportEntry
ChampTypeObligatoireDescription
rowNumber integer · int32 Non Le numéro de rangée.
job Job Non Je suis un emploi.
champs d'objet Job
ChampTypeObligatoireDescription
id integer · int32 Non Id.
name string Non Nom.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS Non Classe de catégorie.
clientId integer · int64 Non Nom du client.
organizationId integer · int64 Non Identification de l'organisation.
deleted boolean Non Il a été supprimé.
positionId integer · int64 Non Identification de la position.
versionId integer · int64 Non - La version ID.
createdUser string Non Créé par l'utilisateur.
createdDate string · date-time Non Date créée.
price number · double Non Le prix.
fulfillmentService boolean Non Service de réalisation.
fulfillmentServiceType string Non Type de service de réalisation.
logisticsTemplate string Non Template de logistique.
logisticsPricingConfig LogisticsPricingConfig Non Configuration des prix de la logistique.
showInFulfillmentProfile boolean Non Afficher le profil de réalisation.
fulfillmentProfileWarehouseIds integer[] Non Identification de l'entrepôt de profil de réalisation.
description string Non Une description.
workCategory string Non Catégorie de travail.
calculationUnit string Non Unité de calcul.
automaticRequestTypes string[] Non Types de requête automatiques.
storageMethod stringVOLUME, ITEM, PALLET, CELL, FIXED Non Métode de stockage.
storageUnit stringCUBIC_METER_DAY, LITER_DAY, ITEM_DAY, PALLET_DAY, CELL_DAY, PERIOD Non Unité de stockage.
storagePricingConfig StoragePricingConfig Non Configuration des prix de stockage.
vatMode stringNONE, RATE, COMPANY_SETTINGS Non Mode de réception.
fulfillmentCategory string Non Catégorie de réalisation.
unit string Non Unité.
currency string Non La monnaie.
employeeRate number · double Non Taux de travail.
employeeCurrency string Non La monnaie des employés.
vatRate number · double Non Le taux de cotisation.
vatIncluded boolean Non VAT inclus.
organizationPrices FulfillmentOrganizationPrice[] Non Prix de l'organisation.
plannedClientPrice FulfillmentPlannedPrice Non Le prix prévu pour le client.
priceVariants FulfillmentPriceVariant[] Non Des variantes de prix.
tariffTypes FulfillmentJobTariffType[] Non Les types de tarifs.
minimumAmount number · double Non - Le montant minimum.
priceValidFrom string · date-time Non Le prix est valide à partir.
priceValidTo string · date-time Non Le prix est valable.
employeeRateValidFrom string · date-time Non Taux de travail valide à partir de.
employeeRateValidTo string · date-time Non Taux de travail valide à.
sample boolean Non Un échantillon.
seedCode string Non Le code des graines.
tariffs JobTariff[] Non Les tarifs.
action string Non - L'action.
error string Non Une erreur.
created integer · int32 Non Créé.
updated integer · int32 Non - Je suis à jour.
archived integer · int32 Non - Elle est archivée.
errors integer · int32 Non Des erreurs.
valid boolean Non - Il est valide.
{
  "previewId": "string",
  "entries": "string",
  "created": 1,
  "updated": 1,
  "archived": 1,
  "errors": 1
}
Les erreurs4

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

400error_max_upload_size_exceeded
Taille de fichier autorisée dépassée

error spécifique au point final. Utilisez le code error_max_upload_size_exceeded stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

POST

Appliquez les œuvres qui s'accompliront

/api/job/fulfillment/excel/apply
Token avec accès à l'écriture

Appliquer les travaux de réalisation à l'aide de POST /api/job/fulfillment/excel/apply.

Organisme de demande

application/json
champs d'objetFulfillmentJobImportPreview
ChampTypeObligatoireDescription
previewId string Non - Je vous en prie.
entries FulfillmentJobImportEntry[] Non Des inscriptions.
Structure des éléments de l'array FulfillmentJobImportEntry
ChampTypeObligatoireDescription
rowNumber integer · int32 Non Le numéro de rangée.
job Job Non Je suis un emploi.
champs d'objet Job
ChampTypeObligatoireDescription
id integer · int32 Non Id.
name string Non Nom.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS Non Classe de catégorie.
clientId integer · int64 Non Nom du client.
organizationId integer · int64 Non Identification de l'organisation.
deleted boolean Non Il a été supprimé.
positionId integer · int64 Non Identification de la position.
versionId integer · int64 Non - La version ID.
createdUser string Non Créé par l'utilisateur.
createdDate string · date-time Non Date créée.
price number · double Non Le prix.
fulfillmentService boolean Non Service de réalisation.
fulfillmentServiceType string Non Type de service de réalisation.
logisticsTemplate string Non Template de logistique.
logisticsPricingConfig LogisticsPricingConfig Non Configuration des prix de la logistique.
showInFulfillmentProfile boolean Non Afficher le profil de réalisation.
fulfillmentProfileWarehouseIds integer[] Non Identification de l'entrepôt de profil de réalisation.
description string Non Une description.
workCategory string Non Catégorie de travail.
calculationUnit string Non Unité de calcul.
automaticRequestTypes string[] Non Types de requête automatiques.
storageMethod stringVOLUME, ITEM, PALLET, CELL, FIXED Non Métode de stockage.
storageUnit stringCUBIC_METER_DAY, LITER_DAY, ITEM_DAY, PALLET_DAY, CELL_DAY, PERIOD Non Unité de stockage.
storagePricingConfig StoragePricingConfig Non Configuration des prix de stockage.
vatMode stringNONE, RATE, COMPANY_SETTINGS Non Mode de réception.
fulfillmentCategory string Non Catégorie de réalisation.
unit string Non Unité.
currency string Non La monnaie.
employeeRate number · double Non Taux de travail.
employeeCurrency string Non La monnaie des employés.
vatRate number · double Non Le taux de cotisation.
vatIncluded boolean Non VAT inclus.
organizationPrices FulfillmentOrganizationPrice[] Non Prix de l'organisation.
plannedClientPrice FulfillmentPlannedPrice Non Le prix prévu pour le client.
priceVariants FulfillmentPriceVariant[] Non Des variantes de prix.
tariffTypes FulfillmentJobTariffType[] Non Les types de tarifs.
minimumAmount number · double Non - Le montant minimum.
priceValidFrom string · date-time Non Le prix est valide à partir.
priceValidTo string · date-time Non Le prix est valable.
employeeRateValidFrom string · date-time Non Taux de travail valide à partir de.
employeeRateValidTo string · date-time Non Taux de travail valide à.
sample boolean Non Un échantillon.
seedCode string Non Le code des graines.
tariffs JobTariff[] Non Les tarifs.
action string Non - L'action.
error string Non Une erreur.
created integer · int32 Non Créé.
updated integer · int32 Non - Je suis à jour.
archived integer · int32 Non - Elle est archivée.
errors integer · int32 Non Des erreurs.
valid boolean Non - Il est valide.
curl --request POST 'https://api.selsup.ru/api/job/fulfillment/excel/apply' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "previewId": "string",
  "entries": "string",
  "created": 1,
  "updated": 1,
  "archived": 1,
  "errors": 1
}'

Réponse réussie

200
champs d'objet FulfillmentJobImportPreview
ChampTypeObligatoireDescription
previewId string Non - Je vous en prie.
entries FulfillmentJobImportEntry[] Non Des inscriptions.
Structure des éléments de l'array FulfillmentJobImportEntry
ChampTypeObligatoireDescription
rowNumber integer · int32 Non Le numéro de rangée.
job Job Non Je suis un emploi.
champs d'objet Job
ChampTypeObligatoireDescription
id integer · int32 Non Id.
name string Non Nom.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS Non Classe de catégorie.
clientId integer · int64 Non Nom du client.
organizationId integer · int64 Non Identification de l'organisation.
deleted boolean Non Il a été supprimé.
positionId integer · int64 Non Identification de la position.
versionId integer · int64 Non - La version ID.
createdUser string Non Créé par l'utilisateur.
createdDate string · date-time Non Date créée.
price number · double Non Le prix.
fulfillmentService boolean Non Service de réalisation.
fulfillmentServiceType string Non Type de service de réalisation.
logisticsTemplate string Non Template de logistique.
logisticsPricingConfig LogisticsPricingConfig Non Configuration des prix de la logistique.
showInFulfillmentProfile boolean Non Afficher le profil de réalisation.
fulfillmentProfileWarehouseIds integer[] Non Identification de l'entrepôt de profil de réalisation.
description string Non Une description.
workCategory string Non Catégorie de travail.
calculationUnit string Non Unité de calcul.
automaticRequestTypes string[] Non Types de requête automatiques.
storageMethod stringVOLUME, ITEM, PALLET, CELL, FIXED Non Métode de stockage.
storageUnit stringCUBIC_METER_DAY, LITER_DAY, ITEM_DAY, PALLET_DAY, CELL_DAY, PERIOD Non Unité de stockage.
storagePricingConfig StoragePricingConfig Non Configuration des prix de stockage.
vatMode stringNONE, RATE, COMPANY_SETTINGS Non Mode de réception.
fulfillmentCategory string Non Catégorie de réalisation.
unit string Non Unité.
currency string Non La monnaie.
employeeRate number · double Non Taux de travail.
employeeCurrency string Non La monnaie des employés.
vatRate number · double Non Le taux de cotisation.
vatIncluded boolean Non VAT inclus.
organizationPrices FulfillmentOrganizationPrice[] Non Prix de l'organisation.
plannedClientPrice FulfillmentPlannedPrice Non Le prix prévu pour le client.
priceVariants FulfillmentPriceVariant[] Non Des variantes de prix.
tariffTypes FulfillmentJobTariffType[] Non Les types de tarifs.
minimumAmount number · double Non - Le montant minimum.
priceValidFrom string · date-time Non Le prix est valide à partir.
priceValidTo string · date-time Non Le prix est valable.
employeeRateValidFrom string · date-time Non Taux de travail valide à partir de.
employeeRateValidTo string · date-time Non Taux de travail valide à.
sample boolean Non Un échantillon.
seedCode string Non Le code des graines.
tariffs JobTariff[] Non Les tarifs.
action string Non - L'action.
error string Non Une erreur.
created integer · int32 Non Créé.
updated integer · int32 Non - Je suis à jour.
archived integer · int32 Non - Elle est archivée.
errors integer · int32 Non Des erreurs.
valid boolean Non - Il est valide.
{
  "previewId": "string",
  "entries": "string",
  "created": 1,
  "updated": 1,
  "archived": 1,
  "errors": 1
}
Les erreurs21

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

400error_cant_extract_tariffs
Impossible d'obtenir les tarifs. Contactez le support

error spécifique au point final. Utilisez le code error_cant_extract_tariffs stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_empty_job_price
Prix pour l'exécution du travail non spécifié

error spécifique au point final. Utilisez le code error_empty_job_price stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_empty_tariff_price
Prix non spécifié pour le tarif n°{position}

error spécifique au point final. Utilisez le code error_empty_tariff_price stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_empty_tariff_priority
Priorité non spécifiée pour le tarif

error spécifique au point final. Utilisez le code error_empty_tariff_priority stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_empty_tariffs
Tarifs non spécifiés

error spécifique au point final. Utilisez le code error_empty_tariffs stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_fulfillment_catalog_organization_required
Organisation du catalogue de réalisation requise

error spécifique au point final. Utilisez le code error_fulfillment_catalog_organization_required stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_fulfillment_invalid_client_pricing
Invalid organization price configuration

error spécifique au point final. Utilisez le code error_fulfillment_invalid_client_pricing stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_incorrect_excel
Format de fichier incorrect. Téléchargez un tableau Excel.

error spécifique au point final. Utilisez le code error_incorrect_excel stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_invalid_fulfillment_logistics_template
Sélectionnez un modèle logistique

error spécifique au point final. Utilisez le code error_invalid_fulfillment_logistics_template stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_invalid_fulfillment_service_type
Type de service de fulfillment invalide

error spécifique au point final. Utilisez le code error_invalid_fulfillment_service_type stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_job_already_exists
La tâche avec le nom {jobName} existe déjà

error spécifique au point final. Utilisez le code error_job_already_exists stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_job_modified
Les données du travail sont déjà mises à jour. Actualisez la page.

error spécifique au point final. Utilisez le code error_job_modified stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_job_tariff_wrong_product_id
Identifiant du produit incorrectement spécifié : {id}

error spécifique au point final. Utilisez le code error_job_tariff_wrong_product_id stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_logistics_invalid_pricing_config
Configuration de prix de logistique non valide

error spécifique au point final. Utilisez le code error_logistics_invalid_pricing_config stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_no_client
Client introuvable ou supprimé. Écrivez au support

error spécifique au point final. Utilisez le code error_no_client stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_storage_invalid_pricing_config
Paramètres de tarification du stockage invalides

error spécifique au point final. Utilisez le code error_storage_invalid_pricing_config stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_storage_invalid_pricing_periods
Vérifiez les limites et les prix des périodes de stockage

error spécifique au point final. Utilisez le code error_storage_invalid_pricing_periods stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_storage_invalid_work
Travaux non valides de stockage

error spécifique au point final. Utilisez le code error_storage_invalid_work stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

POST

Post-emploi

/api/job/
Token avec accès à l'écriture

Afficher un emploi à l'aide de POST /api/job/.

Organisme de demande

application/json
champs d'objetJob
ChampTypeObligatoireDescription
id integer · int32 Non Id.
name string Non Nom.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS Non Classe de catégorie.
clientId integer · int64 Non Nom du client.
organizationId integer · int64 Non Identification de l'organisation.
deleted boolean Non Il a été supprimé.
positionId integer · int64 Non Identification de la position.
versionId integer · int64 Non - La version ID.
createdUser string Non Créé par l'utilisateur.
createdDate string · date-time Non Date créée.
price number · double Non Le prix.
fulfillmentService boolean Non Service de réalisation.
fulfillmentServiceType string Non Type de service de réalisation.
logisticsTemplate string Non Template de logistique.
logisticsPricingConfig LogisticsPricingConfig Non Configuration des prix de la logistique.
champs d'objet LogisticsPricingConfig
ChampTypeObligatoireDescription
origin string Non L'origine.
template string Non Le modèle.
routes LogisticsTariff[] Non Les routes.
Structure des éléments de l'array LogisticsTariff
ChampTypeObligatoireDescription
pointName string Non Nom du point.
marketplace string Non Le marché.
marketplaceWarehouseId integer · int64 Non Identification de l'entrepôt du marché.
destinationType string Non Type de destination.
address string Non Une adresse.
vehicle string Non - Un véhicule.
vehicleName string Non Nom du véhicule.
transportFormat string Non Format de transport.
transportUnit string Non Unité de transport.
pricingType string Non Le type de prix.
firstUnitPrice number · double Non Première unité de prix.
nextUnitPrice number · double Non Le prochain prix unitaire.
pricePerUnit number · double Non Prix par unité.
maximumUnits integer · int32 Non Unités maximales.
maximumSurchargedUnits integer · int32 Non Unités surchargées maximales.
fixedPrice number · double Non Le prix fixe.
comment string Non Comment ?
freeWaitingHours number · double Non Des heures d'attente gratuites.
waitingPricePerHour number · double Non Le prix à l'heure.
waitRounding string Non Attends le tour.
waitingTariffs LogisticsWaitingTariff[] Non Attendant les tarifs.
savedRoutes LogisticsTariff[] Non Les routes sauvées.
Structure des éléments de l'array LogisticsTariff
ChampTypeObligatoireDescription
pointName string Non Nom du point.
marketplace string Non Le marché.
marketplaceWarehouseId integer · int64 Non Identification de l'entrepôt du marché.
destinationType string Non Type de destination.
address string Non Une adresse.
vehicle string Non - Un véhicule.
vehicleName string Non Nom du véhicule.
transportFormat string Non Format de transport.
transportUnit string Non Unité de transport.
pricingType string Non Le type de prix.
firstUnitPrice number · double Non Première unité de prix.
nextUnitPrice number · double Non Le prochain prix unitaire.
pricePerUnit number · double Non Prix par unité.
maximumUnits integer · int32 Non Unités maximales.
maximumSurchargedUnits integer · int32 Non Unités surchargées maximales.
fixedPrice number · double Non Le prix fixe.
comment string Non Comment ?
freeWaitingHours number · double Non Des heures d'attente gratuites.
waitingPricePerHour number · double Non Le prix à l'heure.
waitRounding string Non Attends le tour.
waitingTariffs LogisticsWaitingTariff[] Non Attendant les tarifs.
ownPoints OwnPoint[] Non Des points propres.
Structure des éléments de l'array OwnPoint
ChampTypeObligatoireDescription
pointName string Non Nom du point.
address string Non Une adresse.
marketplace string Non Le marché.
destinationType string Non Type de destination.
showInFulfillmentProfile boolean Non Afficher le profil de réalisation.
fulfillmentProfileWarehouseIds integer[] Non Identification de l'entrepôt de profil de réalisation.
description string Non Une description.
workCategory string Non Catégorie de travail.
calculationUnit string Non Unité de calcul.
automaticRequestTypes string[] Non Types de requête automatiques.
storageMethod stringVOLUME, ITEM, PALLET, CELL, FIXED Non Métode de stockage.
storageUnit stringCUBIC_METER_DAY, LITER_DAY, ITEM_DAY, PALLET_DAY, CELL_DAY, PERIOD Non Unité de stockage.
storagePricingConfig StoragePricingConfig Non Configuration des prix de stockage.
champs d'objet StoragePricingConfig
ChampTypeObligatoireDescription
chargeBasis string Non Base de charge.
timeUnit string Non Unité du temps.
monthlyCalculation string Non Le calcul mensuel.
freeDays integer · int32 Non Des jours libres.
agePricingEnabled boolean Non Prix à l'âge autorisé.
ageBasis string Non Base d'âge.
pricePeriods StoragePricePeriod[] Non Les périodes de prix.
Structure des éléments de l'array StoragePricePeriod
ChampTypeObligatoireDescription
toDay integer · int32 Non À Day.
price number · double Non Le prix.
minimumQuantity number · double Non Quantité minimale.
roundingStep number · double Non Pas de ronde.
dispatchDay string Non Le jour du dépêchement.
vatMode stringNONE, RATE, COMPANY_SETTINGS Non Mode de réception.
fulfillmentCategory string Non Catégorie de réalisation.
unit string Non Unité.
currency string Non La monnaie.
employeeRate number · double Non Taux de travail.
employeeCurrency string Non La monnaie des employés.
vatRate number · double Non Le taux de cotisation.
vatIncluded boolean Non VAT inclus.
organizationPrices FulfillmentOrganizationPrice[] Non Prix de l'organisation.
Structure des éléments de l'array FulfillmentOrganizationPrice
ChampTypeObligatoireDescription
organizationId integer · int64 Non Identification de l'organisation.
vatMode string Non Mode de réception.
vatRate number · double Non Le taux de cotisation.
vatIncluded boolean Non VAT inclus.
plannedClientPrice FulfillmentPlannedPrice Non Le prix prévu pour le client.
champs d'objet FulfillmentPlannedPrice
ChampTypeObligatoireDescription
price number · double Non Le prix.
validFrom string · date-time Non Valide depuis.
validTo string · date-time Non Valables pour.
indefinite boolean Non Indéfiniment.
currency string Non La monnaie.
minimumAmount number · double Non - Le montant minimum.
priceVariants FulfillmentPriceVariant[] Non Des variantes de prix.
Structure des éléments de l'array FulfillmentPriceVariant
ChampTypeObligatoireDescription
id string Non Id.
name string Non Nom.
subject string Non Le sujet.
weightFrom number · double Non Le poids de.
weightTo number · double Non Le poids à.
weightUnit string Non Unité de poids.
lengthFrom number · double Non La longueur de.
lengthTo number · double Non La longueur à.
widthFrom number · double Non La largeur de.
widthTo number · double Non La largeur à.
heightFrom number · double Non De la hauteur.
heightTo number · double Non À hauteur.
countFrom number · double Non Le comte de.
countTo number · double Non Le comte à.
countUnit string Non Unité de comte.
surchargeMetric string Non - Surcharge métrique.
price number · double Non Le prix.
mode string Non Le mode.
surchargeThreshold number · double Non Le seuil de surcharge.
surchargeStep number · double Non Pas de surcharge.
surchargeAmount number · double Non Montant de surcharge.
roundPartialStepUp boolean Non Un pas partiel.
clientPrices FulfillmentPriceVariantClientPrice[] Non Les prix des clients.
Structure des éléments de l'array FulfillmentPriceVariantClientPrice
ChampTypeObligatoireDescription
clientId integer · int64 Non Nom du client.
price number · double Non Le prix.
tariffTypes FulfillmentJobTariffType[] Non Les types de tarifs.
Structure des éléments de l'array FulfillmentJobTariffType
ChampTypeObligatoireDescription
id string Non Id.
name string Non Nom.
price number · double Non Le prix.
warehouseId integer · int64 Non Identification de l'entrepôt.
currency string Non La monnaie.
minimumAmount number · double Non - Le montant minimum.
validFrom string Non Valide depuis.
validTo string Non Valables pour.
minimumAmount number · double Non - Le montant minimum.
priceValidFrom string · date-time Non Le prix est valide à partir.
priceValidTo string · date-time Non Le prix est valable.
employeeRateValidFrom string · date-time Non Taux de travail valide à partir de.
employeeRateValidTo string · date-time Non Taux de travail valide à.
sample boolean Non Un échantillon.
seedCode string Non Le code des graines.
tariffs JobTariff[] Non Les tarifs.
Structure des éléments de l'array JobTariff
ChampTypeObligatoireDescription
id integer · int64 Non Id.
jobId integer · int32 Non Nom de travail.
price number · double Non Le prix.
clientId integer · int64 Non Nom du client.
employeeRate number · double Non Taux de travail.
brandId integer · int32 Non Nom de marque.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS Non Classe de catégorie.
categoryId integer · int32 Non Identification de catégorie
priority integer · int32 Non La priorité.
productId integer · int64 Non Identification du produit.
minQuantity integer · int32 Non La quantité minimale.
maxQuantity integer · int32 Non Max Quantité.
validFrom string · date-time Non Valide depuis.
validTo string · date-time Non Valables pour.
changedAt string · date-time Non Il a changé.
quantityTo integer · int32 Non Quantité à.
quantityFrom integer · int32 Non Quantité de.
curl --request POST 'https://api.selsup.ru/api/job/' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1001,
  "name": "Example",
  "categoryClass": "SHOES",
  "clientId": 1001,
  "organizationId": 1001,
  "deleted": false
}'

Réponse réussie

200
champs d'objet Job
ChampTypeObligatoireDescription
id integer · int32 Non Id.
name string Non Nom.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS Non Classe de catégorie.
clientId integer · int64 Non Nom du client.
organizationId integer · int64 Non Identification de l'organisation.
deleted boolean Non Il a été supprimé.
positionId integer · int64 Non Identification de la position.
versionId integer · int64 Non - La version ID.
createdUser string Non Créé par l'utilisateur.
createdDate string · date-time Non Date créée.
price number · double Non Le prix.
fulfillmentService boolean Non Service de réalisation.
fulfillmentServiceType string Non Type de service de réalisation.
logisticsTemplate string Non Template de logistique.
logisticsPricingConfig LogisticsPricingConfig Non Configuration des prix de la logistique.
champs d'objet LogisticsPricingConfig
ChampTypeObligatoireDescription
origin string Non L'origine.
template string Non Le modèle.
routes LogisticsTariff[] Non Les routes.
Structure des éléments de l'array LogisticsTariff
ChampTypeObligatoireDescription
pointName string Non Nom du point.
marketplace string Non Le marché.
marketplaceWarehouseId integer · int64 Non Identification de l'entrepôt du marché.
destinationType string Non Type de destination.
address string Non Une adresse.
vehicle string Non - Un véhicule.
vehicleName string Non Nom du véhicule.
transportFormat string Non Format de transport.
transportUnit string Non Unité de transport.
pricingType string Non Le type de prix.
firstUnitPrice number · double Non Première unité de prix.
nextUnitPrice number · double Non Le prochain prix unitaire.
pricePerUnit number · double Non Prix par unité.
maximumUnits integer · int32 Non Unités maximales.
maximumSurchargedUnits integer · int32 Non Unités surchargées maximales.
fixedPrice number · double Non Le prix fixe.
comment string Non Comment ?
freeWaitingHours number · double Non Des heures d'attente gratuites.
waitingPricePerHour number · double Non Le prix à l'heure.
waitRounding string Non Attends le tour.
waitingTariffs LogisticsWaitingTariff[] Non Attendant les tarifs.
savedRoutes LogisticsTariff[] Non Les routes sauvées.
Structure des éléments de l'array LogisticsTariff
ChampTypeObligatoireDescription
pointName string Non Nom du point.
marketplace string Non Le marché.
marketplaceWarehouseId integer · int64 Non Identification de l'entrepôt du marché.
destinationType string Non Type de destination.
address string Non Une adresse.
vehicle string Non - Un véhicule.
vehicleName string Non Nom du véhicule.
transportFormat string Non Format de transport.
transportUnit string Non Unité de transport.
pricingType string Non Le type de prix.
firstUnitPrice number · double Non Première unité de prix.
nextUnitPrice number · double Non Le prochain prix unitaire.
pricePerUnit number · double Non Prix par unité.
maximumUnits integer · int32 Non Unités maximales.
maximumSurchargedUnits integer · int32 Non Unités surchargées maximales.
fixedPrice number · double Non Le prix fixe.
comment string Non Comment ?
freeWaitingHours number · double Non Des heures d'attente gratuites.
waitingPricePerHour number · double Non Le prix à l'heure.
waitRounding string Non Attends le tour.
waitingTariffs LogisticsWaitingTariff[] Non Attendant les tarifs.
ownPoints OwnPoint[] Non Des points propres.
Structure des éléments de l'array OwnPoint
ChampTypeObligatoireDescription
pointName string Non Nom du point.
address string Non Une adresse.
marketplace string Non Le marché.
destinationType string Non Type de destination.
showInFulfillmentProfile boolean Non Afficher le profil de réalisation.
fulfillmentProfileWarehouseIds integer[] Non Identification de l'entrepôt de profil de réalisation.
description string Non Une description.
workCategory string Non Catégorie de travail.
calculationUnit string Non Unité de calcul.
automaticRequestTypes string[] Non Types de requête automatiques.
storageMethod stringVOLUME, ITEM, PALLET, CELL, FIXED Non Métode de stockage.
storageUnit stringCUBIC_METER_DAY, LITER_DAY, ITEM_DAY, PALLET_DAY, CELL_DAY, PERIOD Non Unité de stockage.
storagePricingConfig StoragePricingConfig Non Configuration des prix de stockage.
champs d'objet StoragePricingConfig
ChampTypeObligatoireDescription
chargeBasis string Non Base de charge.
timeUnit string Non Unité du temps.
monthlyCalculation string Non Le calcul mensuel.
freeDays integer · int32 Non Des jours libres.
agePricingEnabled boolean Non Prix à l'âge autorisé.
ageBasis string Non Base d'âge.
pricePeriods StoragePricePeriod[] Non Les périodes de prix.
Structure des éléments de l'array StoragePricePeriod
ChampTypeObligatoireDescription
toDay integer · int32 Non À Day.
price number · double Non Le prix.
minimumQuantity number · double Non Quantité minimale.
roundingStep number · double Non Pas de ronde.
dispatchDay string Non Le jour du dépêchement.
vatMode stringNONE, RATE, COMPANY_SETTINGS Non Mode de réception.
fulfillmentCategory string Non Catégorie de réalisation.
unit string Non Unité.
currency string Non La monnaie.
employeeRate number · double Non Taux de travail.
employeeCurrency string Non La monnaie des employés.
vatRate number · double Non Le taux de cotisation.
vatIncluded boolean Non VAT inclus.
organizationPrices FulfillmentOrganizationPrice[] Non Prix de l'organisation.
Structure des éléments de l'array FulfillmentOrganizationPrice
ChampTypeObligatoireDescription
organizationId integer · int64 Non Identification de l'organisation.
vatMode string Non Mode de réception.
vatRate number · double Non Le taux de cotisation.
vatIncluded boolean Non VAT inclus.
plannedClientPrice FulfillmentPlannedPrice Non Le prix prévu pour le client.
champs d'objet FulfillmentPlannedPrice
ChampTypeObligatoireDescription
price number · double Non Le prix.
validFrom string · date-time Non Valide depuis.
validTo string · date-time Non Valables pour.
indefinite boolean Non Indéfiniment.
currency string Non La monnaie.
minimumAmount number · double Non - Le montant minimum.
priceVariants FulfillmentPriceVariant[] Non Des variantes de prix.
Structure des éléments de l'array FulfillmentPriceVariant
ChampTypeObligatoireDescription
id string Non Id.
name string Non Nom.
subject string Non Le sujet.
weightFrom number · double Non Le poids de.
weightTo number · double Non Le poids à.
weightUnit string Non Unité de poids.
lengthFrom number · double Non La longueur de.
lengthTo number · double Non La longueur à.
widthFrom number · double Non La largeur de.
widthTo number · double Non La largeur à.
heightFrom number · double Non De la hauteur.
heightTo number · double Non À hauteur.
countFrom number · double Non Le comte de.
countTo number · double Non Le comte à.
countUnit string Non Unité de comte.
surchargeMetric string Non - Surcharge métrique.
price number · double Non Le prix.
mode string Non Le mode.
surchargeThreshold number · double Non Le seuil de surcharge.
surchargeStep number · double Non Pas de surcharge.
surchargeAmount number · double Non Montant de surcharge.
roundPartialStepUp boolean Non Un pas partiel.
clientPrices FulfillmentPriceVariantClientPrice[] Non Les prix des clients.
Structure des éléments de l'array FulfillmentPriceVariantClientPrice
ChampTypeObligatoireDescription
clientId integer · int64 Non Nom du client.
price number · double Non Le prix.
tariffTypes FulfillmentJobTariffType[] Non Les types de tarifs.
Structure des éléments de l'array FulfillmentJobTariffType
ChampTypeObligatoireDescription
id string Non Id.
name string Non Nom.
price number · double Non Le prix.
warehouseId integer · int64 Non Identification de l'entrepôt.
currency string Non La monnaie.
minimumAmount number · double Non - Le montant minimum.
validFrom string Non Valide depuis.
validTo string Non Valables pour.
minimumAmount number · double Non - Le montant minimum.
priceValidFrom string · date-time Non Le prix est valide à partir.
priceValidTo string · date-time Non Le prix est valable.
employeeRateValidFrom string · date-time Non Taux de travail valide à partir de.
employeeRateValidTo string · date-time Non Taux de travail valide à.
sample boolean Non Un échantillon.
seedCode string Non Le code des graines.
tariffs JobTariff[] Non Les tarifs.
Structure des éléments de l'array JobTariff
ChampTypeObligatoireDescription
id integer · int64 Non Id.
jobId integer · int32 Non Nom de travail.
price number · double Non Le prix.
clientId integer · int64 Non Nom du client.
employeeRate number · double Non Taux de travail.
brandId integer · int32 Non Nom de marque.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS Non Classe de catégorie.
categoryId integer · int32 Non Identification de catégorie
priority integer · int32 Non La priorité.
productId integer · int64 Non Identification du produit.
minQuantity integer · int32 Non La quantité minimale.
maxQuantity integer · int32 Non Max Quantité.
validFrom string · date-time Non Valide depuis.
validTo string · date-time Non Valables pour.
changedAt string · date-time Non Il a changé.
quantityTo integer · int32 Non Quantité à.
quantityFrom integer · int32 Non Quantité de.
{
  "id": 1001,
  "name": "Example",
  "categoryClass": "SHOES",
  "clientId": 1001,
  "organizationId": 1001,
  "deleted": false
}
Les erreurs19

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

400error_cant_extract_tariffs
Impossible d'obtenir les tarifs. Contactez le support

error spécifique au point final. Utilisez le code error_cant_extract_tariffs stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_empty_job_price
Prix pour l'exécution du travail non spécifié

error spécifique au point final. Utilisez le code error_empty_job_price stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_empty_tariff_price
Prix non spécifié pour le tarif n°{position}

error spécifique au point final. Utilisez le code error_empty_tariff_price stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_empty_tariff_priority
Priorité non spécifiée pour le tarif

error spécifique au point final. Utilisez le code error_empty_tariff_priority stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_empty_tariffs
Tarifs non spécifiés

error spécifique au point final. Utilisez le code error_empty_tariffs stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_fulfillment_catalog_organization_required
Organisation du catalogue de réalisation requise

error spécifique au point final. Utilisez le code error_fulfillment_catalog_organization_required stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_fulfillment_invalid_client_pricing
Invalid organization price configuration

error spécifique au point final. Utilisez le code error_fulfillment_invalid_client_pricing stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_invalid_fulfillment_logistics_template
Sélectionnez un modèle logistique

error spécifique au point final. Utilisez le code error_invalid_fulfillment_logistics_template stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_invalid_fulfillment_service_type
Type de service de fulfillment invalide

error spécifique au point final. Utilisez le code error_invalid_fulfillment_service_type stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_job_already_exists
La tâche avec le nom {jobName} existe déjà

error spécifique au point final. Utilisez le code error_job_already_exists stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_job_tariff_wrong_product_id
Identifiant du produit incorrectement spécifié : {id}

error spécifique au point final. Utilisez le code error_job_tariff_wrong_product_id stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_logistics_invalid_pricing_config
Configuration de prix de logistique non valide

error spécifique au point final. Utilisez le code error_logistics_invalid_pricing_config stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_no_client
Client introuvable ou supprimé. Écrivez au support

error spécifique au point final. Utilisez le code error_no_client stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_storage_invalid_pricing_config
Paramètres de tarification du stockage invalides

error spécifique au point final. Utilisez le code error_storage_invalid_pricing_config stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_storage_invalid_pricing_periods
Vérifiez les limites et les prix des périodes de stockage

error spécifique au point final. Utilisez le code error_storage_invalid_pricing_periods stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_storage_invalid_work
Travaux non valides de stockage

error spécifique au point final. Utilisez le code error_storage_invalid_work stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

GET

Obtenez des antécédents de tarifs d'emploi

/api/job/{jobId}/tariff-history
Token avec accès à la lecture

Obtenez l'historique des tarifs d'emploi à l'aide de GET /api/job/{jobId}/tariff-history.

Parametres de parcours

ChampTypeObligatoireDescription
jobId integer · int32 Oui Nom de travail.
curl --request GET 'https://api.selsup.ru/api/job/1001/tariff-history' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200
Structure des éléments de l'array JobTariffHistory[]
ChampTypeObligatoireDescription
id integer · int64 Non Id.
jobId integer · int32 Non Nom de travail.
tariffId integer · int64 Non Identification des tarifs douaniers.
eventType string Non Type d'événement.
price number · double Non Le prix.
employeeRate number · double Non Taux de travail.
clientId integer · int64 Non Nom du client.
brandId integer · int32 Non Nom de marque.
categoryClass string Non Classe de catégorie.
categoryId integer · int32 Non Identification de catégorie
productId integer · int64 Non Identification du produit.
quantityFrom integer · int32 Non Quantité de.
quantityTo integer · int32 Non Quantité à.
validFrom string · date-time Non Valide depuis.
validTo string · date-time Non Valables pour.
changedAt string · date-time Non Il a changé.
changedBy string Non Ça a changé.
[
  "string"
]
Les erreurs6

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

400error_cant_extract_tariffs
Impossible d'obtenir les tarifs. Contactez le support

error spécifique au point final. Utilisez le code error_cant_extract_tariffs stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_no_client
Client introuvable ou supprimé. Écrivez au support

error spécifique au point final. Utilisez le code error_no_client stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_subscription_expired
Votre abonnement a expiré. Veuillez payer l'abonnement pour continuer à utiliser le service.

error spécifique au point final. Utilisez le code error_subscription_expired stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

GET

Obtenez l'historique des tarifs de travail

/api/job/{jobId}/fulfillment/tariff-history
Token avec accès à la lecture

Obtenez l'historique des tarifs de travail à l'aide de GET /api/job/{jobId}/fulfillment/tariff-history.

Parametres de parcours

ChampTypeObligatoireDescription
jobId integer · int32 Oui Nom de travail.
curl --request GET 'https://api.selsup.ru/api/job/1001/fulfillment/tariff-history' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200
Structure des éléments de l'array JobTariff[]
ChampTypeObligatoireDescription
id integer · int64 Non Id.
jobId integer · int32 Non Nom de travail.
price number · double Non Le prix.
clientId integer · int64 Non Nom du client.
employeeRate number · double Non Taux de travail.
brandId integer · int32 Non Nom de marque.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS Non Classe de catégorie.
categoryId integer · int32 Non Identification de catégorie
priority integer · int32 Non La priorité.
productId integer · int64 Non Identification du produit.
minQuantity integer · int32 Non La quantité minimale.
maxQuantity integer · int32 Non Max Quantité.
validFrom string · date-time Non Valide depuis.
validTo string · date-time Non Valables pour.
changedAt string · date-time Non Il a changé.
quantityTo integer · int32 Non Quantité à.
quantityFrom integer · int32 Non Quantité de.
[
  "string"
]
Les erreurs6

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

400error_cant_extract_tariffs
Impossible d'obtenir les tarifs. Contactez le support

error spécifique au point final. Utilisez le code error_cant_extract_tariffs stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_incorrect_job
Travail incorrect

error spécifique au point final. Utilisez le code error_incorrect_job stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_no_client
Client introuvable ou supprimé. Écrivez au support

error spécifique au point final. Utilisez le code error_no_client stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

GET

Les travaux d'export

/api/job/fulfillment/excel
Token avec accès à la lecture

Exporter des travaux de réalisation à l'aide de GET /api/job/fulfillment/excel.

Paramètres de requête

ChampTypeObligatoireDescription
includeCurrentValeur par défaut: true boolean Non Inclure le courant.
organizationId integer · int64 Non Identification de l'organisation.
curl --request GET 'https://api.selsup.ru/api/job/fulfillment/excel' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200
"string"
Les erreurs3

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

Authorization

Marque pour les demandes d'essai

Obtenir un jeton

Le jeton reste dans le localStorage de ce navigateur et est envoyé uniquement dans l'en-tête Authorization des demandes à api.selsup.ru.

Essayer

Parametres réels de la demande

Réponse en direct API

Envoyez une demande pour voir la réponse SelSup.