SelSup Developers

公共的 API · 参考 API

约伯

工作的终点,包括精确的路线,参数,请求机构和可扩展的响应方案.

终点: 10/api/job稳定机器可读的描述 ↗
{ }

通过可编辑的独立合同来支持本页面. 在生产使用之前,验证使用测试数据的写作操作.

/api/job

准备使用的工作流程

准备使用的工作流程

01

开始使用Job

使用专用API代币,首先验证测试数据的读取操作.

  1. 保存代币服务器侧,然后将其发送到Authorization标题中.
  2. 检查所需参数,并扩大请求或响应方案.
  3. 在应用错误中处理HTTP状态和稳定的error字段.

数据模型

数据结构

模型在此列出一次,并且可以直接从使用它们的终端点扩展.

FulfillmentJobTariffType8 字段
idstring

Id.

namestring

姓名.

pricenumber · double

价格.

warehouseIdinteger · int64

仓库身份证.

currencystring

货币.

minimumAmountnumber · double

最低量

validFromstring

有效的.

validTostring

适用于.

FulfillmentOrganizationPrice4 字段
organizationIdinteger · int64

组织身份证.

vatModestring

电气模式.

vatRatenumber · double

率

vatIncludedboolean

含有

FulfillmentPlannedPrice6 字段
pricenumber · double

价格.

validFromstring · date-time

有效的.

validTostring · date-time

适用于.

indefiniteboolean

无限期.

currencystring

货币.

minimumAmountnumber · double

最低量

FulfillmentPriceVariant23 字段
idstring

Id.

namestring

姓名.

subjectstring

问题.

weightFromnumber · double

体重从.

weightTonumber · double

体重到.

weightUnitstring

体重单位.

lengthFromnumber · double

距离的长度.

lengthTonumber · double

长度到.

widthFromnumber · double

宽度从.

widthTonumber · double

宽度到

heightFromnumber · double

距离高度.

heightTonumber · double

升到高度.

countFromnumber · double

伯爵从.

countTonumber · double

算到.

countUnitstring

伯爵单位.

surchargeMetricstring

补充量计.

pricenumber · double

价格.

modestring

模式.

surchargeThresholdnumber · double

额外收费门.

surchargeStepnumber · double

补充措施.

surchargeAmountnumber · double

额外收费.

roundPartialStepUpboolean

圆部分步骤.

clientPricesFulfillmentPriceVariantClientPrice[]

客户价格.

FulfillmentPriceVariantClientPrice2 字段
clientIdinteger · int64

客户身份证.

pricenumber · double

价格.

Job44 字段
idinteger · int32

Id.

namestring

姓名.

categoryClassstring

类别类.

clientIdinteger · int64

客户身份证.

organizationIdinteger · int64

组织身份证.

deletedboolean

删除了.

positionIdinteger · int64

位置身份.

versionIdinteger · int64

版本ID.

createdUserstring

创建用户.

createdDatestring · date-time

创造日期.

pricenumber · double

价格.

fulfillmentServiceboolean

执行服务.

fulfillmentServiceTypestring

服务类型

logisticsTemplatestring

运营模板

logisticsPricingConfigLogisticsPricingConfig

物流定价配置.

showInFulfillmentProfileboolean

显示在实现的个人资料.

fulfillmentProfileWarehouseIdsinteger[]

填写档案仓库身份证.

descriptionstring

描述

workCategorystring

工作类别

calculationUnitstring

计算单位.

automaticRequestTypesstring[]

系统的要求类型

storageMethodstring

存储方法

storageUnitstring

储存单位.

storagePricingConfigStoragePricingConfig

存储价格配置

vatModestring

电气模式.

fulfillmentCategorystring

实现类别

unitstring

单位.

currencystring

货币.

employeeRatenumber · double

员工率

employeeCurrencystring

员工货币.

vatRatenumber · double

率

vatIncludedboolean

含有

organizationPricesFulfillmentOrganizationPrice[]

组织价格.

plannedClientPriceFulfillmentPlannedPrice

预计客户价格.

priceVariantsFulfillmentPriceVariant[]

价格变量.

tariffTypesFulfillmentJobTariffType[]

关税类型.

minimumAmountnumber · double

最低量

priceValidFromstring · date-time

价格有效从.

priceValidTostring · date-time

价格有效.

employeeRateValidFromstring · date-time

员工率有效期

employeeRateValidTostring · date-time

员工率有效

sampleboolean

样本.

seedCodestring

种子代码.

read-only
tariffsJobTariff[]

关税.

JobTariff17 字段
idinteger · int64

Id.

jobIdinteger · int32

工作身份证.

pricenumber · double

价格.

clientIdinteger · int64

客户身份证.

employeeRatenumber · double

员工率

brandIdinteger · int32

品牌身份证.

categoryClassstring

类别类.

categoryIdinteger · int32

类别的ID.

priorityinteger · int32

优先考虑.

productIdinteger · int64

产品身份证

minQuantityinteger · int32

微量量.

maxQuantityinteger · int32

马克斯量.

validFromstring · date-time

有效的.

validTostring · date-time

适用于.

changedAtstring · date-time

改变了

quantityTointeger · int32

量到.

quantityFrominteger · int32

量从.

LogisticsPricingConfig5 字段
originstring

起源.

templatestring

模板.

routesLogisticsTariff[]

路线.

savedRoutesLogisticsTariff[]

拯救路线.

ownPointsOwnPoint[]

自己的点.

LogisticsTariff21 字段
pointNamestring

标题名

marketplacestring

市场.

marketplaceWarehouseIdinteger · int64

商场仓库身份证.

destinationTypestring

目的地类型.

addressstring

现在,我有个地址.

vehiclestring

车辆.

vehicleNamestring

车辆名称.

transportFormatstring

运输格式.

transportUnitstring

交通部.

pricingTypestring

价格类型.

firstUnitPricenumber · double

首个单位价格.

nextUnitPricenumber · double

下一个单位价格.

pricePerUnitnumber · double

单位价格

maximumUnitsinteger · int32

最大单位.

maximumSurchargedUnitsinteger · int32

充电量最大的单位.

fixedPricenumber · double

定价.

commentstring

评论.

freeWaitingHoursnumber · double

免费等待时间.

waitingPricePerHournumber · double

预计每小时的价格.

waitRoundingstring

待一下.

waitingTariffsLogisticsWaitingTariff[]

预计关税.

LogisticsWaitingTariff5 字段
vehiclestring

车辆.

vehicleNamestring

车辆名称.

freeWaitingHoursnumber · double

免费等待时间.

waitingPricePerHournumber · double

预计每小时的价格.

waitRoundingstring

待一下.

OwnPoint4 字段
pointNamestring

标题名

addressstring

现在,我有个地址.

marketplacestring

市场.

destinationTypestring

目的地类型.

StoragePricePeriod2 字段
toDayinteger · int32

现在,我们要去.

pricenumber · double

价格.

StoragePricingConfig10 字段
chargeBasisstring

充电基地.

timeUnitstring

时间单位.

monthlyCalculationstring

计数月数.

freeDaysinteger · int32

免费的日子.

agePricingEnabledboolean

年龄定价已启用.

ageBasisstring

年龄基础.

pricePeriodsStoragePricePeriod[]

价格期

minimumQuantitynumber · double

极限量.

roundingStepnumber · double

圆形步骤.

dispatchDaystring

发送日.

FulfillmentLogisticsPoint4 字段
pointNamestring

标题名

addressstring

现在,我有个地址.

marketplacestring

市场.

destinationTypestring

目的地类型.

FulfillmentJobImportEntry4 字段
rowNumberinteger · int32

排号.

jobJob

工作.

actionstring

行动.

errorstring

错误.

FulfillmentJobImportPreview7 字段
previewIdstring

预览身份证.

entriesFulfillmentJobImportEntry[]

报名.

createdinteger · int32

创造了.

updatedinteger · int32

更新了.

archivedinteger · int32

存档.

errorsinteger · int32

错误.

validboolean

现在,我们要去.

JobTariffHistory17 字段
idinteger · int64

Id.

jobIdinteger · int32

工作身份证.

tariffIdinteger · int64

关税证.

eventTypestring

事件类型.

pricenumber · double

价格.

employeeRatenumber · double

员工率

clientIdinteger · int64

客户身份证.

brandIdinteger · int32

品牌身份证.

categoryClassstring

类别类.

categoryIdinteger · int32

类别的ID.

productIdinteger · int64

产品身份证

quantityFrominteger · int32

量从.

quantityTointeger · int32

量到.

validFromstring · date-time

有效的.

validTostring · date-time

适用于.

changedAtstring · date-time

改变了

changedBystring

改变了.

错误合同

如何返回应用错误

编程的代码在每个地方都相同,而用户面向的消息由服务器翻译. 建立在error周围的应用逻辑,仅用于显示.

鱼类

稳定机器可读的代码用于集成逻辑.

鱼类

在API代币用户语言中显示准备的消息.

鱼类

服务器在本地化消息模板中插入的值.

文

localMessage使用了 API代币的用户的lang字段.文档语言和 Accept-Language标题不会改变它;当用户没有语言配置时,使用俄语.

RU用户位置是 ru
{
  "error": "error_brand_already_exists",
  "localMessage": "Бренд Base уже существует",
  "params": {
    "name": "Base"
  }
}
CN中文 (cn)
{
  "error": "error_brand_already_exists",
  "localMessage": "品牌 Base 已经存在",
  "params": {
    "name": "Base"
  }
}

终点

终点

PUT

让工作

/api/job/{jobId}
具有写入的标志

通过PUT/api/job/{jobId}. 输入工作

路径参数

字段类型必填描述
jobId integer · int32 是 工作身份证.

要求机构

application/json
对象场Job
字段类型必填描述
id integer · int32 否 Id.
name string 否 姓名.
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 否 类别类.
clientId integer · int64 否 客户身份证.
organizationId integer · int64 否 组织身份证.
deleted boolean 否 删除了.
positionId integer · int64 否 位置身份.
versionId integer · int64 否 版本ID.
createdUser string 否 创建用户.
createdDate string · date-time 否 创造日期.
price number · double 否 价格.
fulfillmentService boolean 否 执行服务.
fulfillmentServiceType string 否 服务类型
logisticsTemplate string 否 运营模板
logisticsPricingConfig LogisticsPricingConfig 否 物流定价配置.
对象场 LogisticsPricingConfig
字段类型必填描述
origin string 否 起源.
template string 否 模板.
routes LogisticsTariff[] 否 路线.
阵列项结构 LogisticsTariff
字段类型必填描述
pointName string 否 标题名
marketplace string 否 市场.
marketplaceWarehouseId integer · int64 否 商场仓库身份证.
destinationType string 否 目的地类型.
address string 否 现在,我有个地址.
vehicle string 否 车辆.
vehicleName string 否 车辆名称.
transportFormat string 否 运输格式.
transportUnit string 否 交通部.
pricingType string 否 价格类型.
firstUnitPrice number · double 否 首个单位价格.
nextUnitPrice number · double 否 下一个单位价格.
pricePerUnit number · double 否 单位价格
maximumUnits integer · int32 否 最大单位.
maximumSurchargedUnits integer · int32 否 充电量最大的单位.
fixedPrice number · double 否 定价.
comment string 否 评论.
freeWaitingHours number · double 否 免费等待时间.
waitingPricePerHour number · double 否 预计每小时的价格.
waitRounding string 否 待一下.
waitingTariffs LogisticsWaitingTariff[] 否 预计关税.
savedRoutes LogisticsTariff[] 否 拯救路线.
阵列项结构 LogisticsTariff
字段类型必填描述
pointName string 否 标题名
marketplace string 否 市场.
marketplaceWarehouseId integer · int64 否 商场仓库身份证.
destinationType string 否 目的地类型.
address string 否 现在,我有个地址.
vehicle string 否 车辆.
vehicleName string 否 车辆名称.
transportFormat string 否 运输格式.
transportUnit string 否 交通部.
pricingType string 否 价格类型.
firstUnitPrice number · double 否 首个单位价格.
nextUnitPrice number · double 否 下一个单位价格.
pricePerUnit number · double 否 单位价格
maximumUnits integer · int32 否 最大单位.
maximumSurchargedUnits integer · int32 否 充电量最大的单位.
fixedPrice number · double 否 定价.
comment string 否 评论.
freeWaitingHours number · double 否 免费等待时间.
waitingPricePerHour number · double 否 预计每小时的价格.
waitRounding string 否 待一下.
waitingTariffs LogisticsWaitingTariff[] 否 预计关税.
ownPoints OwnPoint[] 否 自己的点.
阵列项结构 OwnPoint
字段类型必填描述
pointName string 否 标题名
address string 否 现在,我有个地址.
marketplace string 否 市场.
destinationType string 否 目的地类型.
showInFulfillmentProfile boolean 否 显示在实现的个人资料.
fulfillmentProfileWarehouseIds integer[] 否 填写档案仓库身份证.
description string 否 描述
workCategory string 否 工作类别
calculationUnit string 否 计算单位.
automaticRequestTypes string[] 否 系统的要求类型
storageMethod stringVOLUME, ITEM, PALLET, CELL, FIXED 否 存储方法
storageUnit stringCUBIC_METER_DAY, LITER_DAY, ITEM_DAY, PALLET_DAY, CELL_DAY, PERIOD 否 储存单位.
storagePricingConfig StoragePricingConfig 否 存储价格配置
对象场 StoragePricingConfig
字段类型必填描述
chargeBasis string 否 充电基地.
timeUnit string 否 时间单位.
monthlyCalculation string 否 计数月数.
freeDays integer · int32 否 免费的日子.
agePricingEnabled boolean 否 年龄定价已启用.
ageBasis string 否 年龄基础.
pricePeriods StoragePricePeriod[] 否 价格期
阵列项结构 StoragePricePeriod
字段类型必填描述
toDay integer · int32 否 现在,我们要去.
price number · double 否 价格.
minimumQuantity number · double 否 极限量.
roundingStep number · double 否 圆形步骤.
dispatchDay string 否 发送日.
vatMode stringNONE, RATE, COMPANY_SETTINGS 否 电气模式.
fulfillmentCategory string 否 实现类别
unit string 否 单位.
currency string 否 货币.
employeeRate number · double 否 员工率
employeeCurrency string 否 员工货币.
vatRate number · double 否 率
vatIncluded boolean 否 含有
organizationPrices FulfillmentOrganizationPrice[] 否 组织价格.
阵列项结构 FulfillmentOrganizationPrice
字段类型必填描述
organizationId integer · int64 否 组织身份证.
vatMode string 否 电气模式.
vatRate number · double 否 率
vatIncluded boolean 否 含有
plannedClientPrice FulfillmentPlannedPrice 否 预计客户价格.
对象场 FulfillmentPlannedPrice
字段类型必填描述
price number · double 否 价格.
validFrom string · date-time 否 有效的.
validTo string · date-time 否 适用于.
indefinite boolean 否 无限期.
currency string 否 货币.
minimumAmount number · double 否 最低量
priceVariants FulfillmentPriceVariant[] 否 价格变量.
阵列项结构 FulfillmentPriceVariant
字段类型必填描述
id string 否 Id.
name string 否 姓名.
subject string 否 问题.
weightFrom number · double 否 体重从.
weightTo number · double 否 体重到.
weightUnit string 否 体重单位.
lengthFrom number · double 否 距离的长度.
lengthTo number · double 否 长度到.
widthFrom number · double 否 宽度从.
widthTo number · double 否 宽度到
heightFrom number · double 否 距离高度.
heightTo number · double 否 升到高度.
countFrom number · double 否 伯爵从.
countTo number · double 否 算到.
countUnit string 否 伯爵单位.
surchargeMetric string 否 补充量计.
price number · double 否 价格.
mode string 否 模式.
surchargeThreshold number · double 否 额外收费门.
surchargeStep number · double 否 补充措施.
surchargeAmount number · double 否 额外收费.
roundPartialStepUp boolean 否 圆部分步骤.
clientPrices FulfillmentPriceVariantClientPrice[] 否 客户价格.
阵列项结构 FulfillmentPriceVariantClientPrice
字段类型必填描述
clientId integer · int64 否 客户身份证.
price number · double 否 价格.
tariffTypes FulfillmentJobTariffType[] 否 关税类型.
阵列项结构 FulfillmentJobTariffType
字段类型必填描述
id string 否 Id.
name string 否 姓名.
price number · double 否 价格.
warehouseId integer · int64 否 仓库身份证.
currency string 否 货币.
minimumAmount number · double 否 最低量
validFrom string 否 有效的.
validTo string 否 适用于.
minimumAmount number · double 否 最低量
priceValidFrom string · date-time 否 价格有效从.
priceValidTo string · date-time 否 价格有效.
employeeRateValidFrom string · date-time 否 员工率有效期
employeeRateValidTo string · date-time 否 员工率有效
sample boolean 否 样本.
seedCode string 否 种子代码.
tariffs JobTariff[] 否 关税.
阵列项结构 JobTariff
字段类型必填描述
id integer · int64 否 Id.
jobId integer · int32 否 工作身份证.
price number · double 否 价格.
clientId integer · int64 否 客户身份证.
employeeRate number · double 否 员工率
brandId integer · int32 否 品牌身份证.
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 否 类别类.
categoryId integer · int32 否 类别的ID.
priority integer · int32 否 优先考虑.
productId integer · int64 否 产品身份证
minQuantity integer · int32 否 微量量.
maxQuantity integer · int32 否 马克斯量.
validFrom string · date-time 否 有效的.
validTo string · date-time 否 适用于.
changedAt string · date-time 否 改变了
quantityTo integer · int32 否 量到.
quantityFrom integer · int32 否 量从.
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
}'

成功的反应

200
对象场 Job
字段类型必填描述
id integer · int32 否 Id.
name string 否 姓名.
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 否 类别类.
clientId integer · int64 否 客户身份证.
organizationId integer · int64 否 组织身份证.
deleted boolean 否 删除了.
positionId integer · int64 否 位置身份.
versionId integer · int64 否 版本ID.
createdUser string 否 创建用户.
createdDate string · date-time 否 创造日期.
price number · double 否 价格.
fulfillmentService boolean 否 执行服务.
fulfillmentServiceType string 否 服务类型
logisticsTemplate string 否 运营模板
logisticsPricingConfig LogisticsPricingConfig 否 物流定价配置.
对象场 LogisticsPricingConfig
字段类型必填描述
origin string 否 起源.
template string 否 模板.
routes LogisticsTariff[] 否 路线.
阵列项结构 LogisticsTariff
字段类型必填描述
pointName string 否 标题名
marketplace string 否 市场.
marketplaceWarehouseId integer · int64 否 商场仓库身份证.
destinationType string 否 目的地类型.
address string 否 现在,我有个地址.
vehicle string 否 车辆.
vehicleName string 否 车辆名称.
transportFormat string 否 运输格式.
transportUnit string 否 交通部.
pricingType string 否 价格类型.
firstUnitPrice number · double 否 首个单位价格.
nextUnitPrice number · double 否 下一个单位价格.
pricePerUnit number · double 否 单位价格
maximumUnits integer · int32 否 最大单位.
maximumSurchargedUnits integer · int32 否 充电量最大的单位.
fixedPrice number · double 否 定价.
comment string 否 评论.
freeWaitingHours number · double 否 免费等待时间.
waitingPricePerHour number · double 否 预计每小时的价格.
waitRounding string 否 待一下.
waitingTariffs LogisticsWaitingTariff[] 否 预计关税.
savedRoutes LogisticsTariff[] 否 拯救路线.
阵列项结构 LogisticsTariff
字段类型必填描述
pointName string 否 标题名
marketplace string 否 市场.
marketplaceWarehouseId integer · int64 否 商场仓库身份证.
destinationType string 否 目的地类型.
address string 否 现在,我有个地址.
vehicle string 否 车辆.
vehicleName string 否 车辆名称.
transportFormat string 否 运输格式.
transportUnit string 否 交通部.
pricingType string 否 价格类型.
firstUnitPrice number · double 否 首个单位价格.
nextUnitPrice number · double 否 下一个单位价格.
pricePerUnit number · double 否 单位价格
maximumUnits integer · int32 否 最大单位.
maximumSurchargedUnits integer · int32 否 充电量最大的单位.
fixedPrice number · double 否 定价.
comment string 否 评论.
freeWaitingHours number · double 否 免费等待时间.
waitingPricePerHour number · double 否 预计每小时的价格.
waitRounding string 否 待一下.
waitingTariffs LogisticsWaitingTariff[] 否 预计关税.
ownPoints OwnPoint[] 否 自己的点.
阵列项结构 OwnPoint
字段类型必填描述
pointName string 否 标题名
address string 否 现在,我有个地址.
marketplace string 否 市场.
destinationType string 否 目的地类型.
showInFulfillmentProfile boolean 否 显示在实现的个人资料.
fulfillmentProfileWarehouseIds integer[] 否 填写档案仓库身份证.
description string 否 描述
workCategory string 否 工作类别
calculationUnit string 否 计算单位.
automaticRequestTypes string[] 否 系统的要求类型
storageMethod stringVOLUME, ITEM, PALLET, CELL, FIXED 否 存储方法
storageUnit stringCUBIC_METER_DAY, LITER_DAY, ITEM_DAY, PALLET_DAY, CELL_DAY, PERIOD 否 储存单位.
storagePricingConfig StoragePricingConfig 否 存储价格配置
对象场 StoragePricingConfig
字段类型必填描述
chargeBasis string 否 充电基地.
timeUnit string 否 时间单位.
monthlyCalculation string 否 计数月数.
freeDays integer · int32 否 免费的日子.
agePricingEnabled boolean 否 年龄定价已启用.
ageBasis string 否 年龄基础.
pricePeriods StoragePricePeriod[] 否 价格期
阵列项结构 StoragePricePeriod
字段类型必填描述
toDay integer · int32 否 现在,我们要去.
price number · double 否 价格.
minimumQuantity number · double 否 极限量.
roundingStep number · double 否 圆形步骤.
dispatchDay string 否 发送日.
vatMode stringNONE, RATE, COMPANY_SETTINGS 否 电气模式.
fulfillmentCategory string 否 实现类别
unit string 否 单位.
currency string 否 货币.
employeeRate number · double 否 员工率
employeeCurrency string 否 员工货币.
vatRate number · double 否 率
vatIncluded boolean 否 含有
organizationPrices FulfillmentOrganizationPrice[] 否 组织价格.
阵列项结构 FulfillmentOrganizationPrice
字段类型必填描述
organizationId integer · int64 否 组织身份证.
vatMode string 否 电气模式.
vatRate number · double 否 率
vatIncluded boolean 否 含有
plannedClientPrice FulfillmentPlannedPrice 否 预计客户价格.
对象场 FulfillmentPlannedPrice
字段类型必填描述
price number · double 否 价格.
validFrom string · date-time 否 有效的.
validTo string · date-time 否 适用于.
indefinite boolean 否 无限期.
currency string 否 货币.
minimumAmount number · double 否 最低量
priceVariants FulfillmentPriceVariant[] 否 价格变量.
阵列项结构 FulfillmentPriceVariant
字段类型必填描述
id string 否 Id.
name string 否 姓名.
subject string 否 问题.
weightFrom number · double 否 体重从.
weightTo number · double 否 体重到.
weightUnit string 否 体重单位.
lengthFrom number · double 否 距离的长度.
lengthTo number · double 否 长度到.
widthFrom number · double 否 宽度从.
widthTo number · double 否 宽度到
heightFrom number · double 否 距离高度.
heightTo number · double 否 升到高度.
countFrom number · double 否 伯爵从.
countTo number · double 否 算到.
countUnit string 否 伯爵单位.
surchargeMetric string 否 补充量计.
price number · double 否 价格.
mode string 否 模式.
surchargeThreshold number · double 否 额外收费门.
surchargeStep number · double 否 补充措施.
surchargeAmount number · double 否 额外收费.
roundPartialStepUp boolean 否 圆部分步骤.
clientPrices FulfillmentPriceVariantClientPrice[] 否 客户价格.
阵列项结构 FulfillmentPriceVariantClientPrice
字段类型必填描述
clientId integer · int64 否 客户身份证.
price number · double 否 价格.
tariffTypes FulfillmentJobTariffType[] 否 关税类型.
阵列项结构 FulfillmentJobTariffType
字段类型必填描述
id string 否 Id.
name string 否 姓名.
price number · double 否 价格.
warehouseId integer · int64 否 仓库身份证.
currency string 否 货币.
minimumAmount number · double 否 最低量
validFrom string 否 有效的.
validTo string 否 适用于.
minimumAmount number · double 否 最低量
priceValidFrom string · date-time 否 价格有效从.
priceValidTo string · date-time 否 价格有效.
employeeRateValidFrom string · date-time 否 员工率有效期
employeeRateValidTo string · date-time 否 员工率有效
sample boolean 否 样本.
seedCode string 否 种子代码.
tariffs JobTariff[] 否 关税.
阵列项结构 JobTariff
字段类型必填描述
id integer · int64 否 Id.
jobId integer · int32 否 工作身份证.
price number · double 否 价格.
clientId integer · int64 否 客户身份证.
employeeRate number · double 否 员工率
brandId integer · int32 否 品牌身份证.
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 否 类别类.
categoryId integer · int32 否 类别的ID.
priority integer · int32 否 优先考虑.
productId integer · int64 否 产品身份证
minQuantity integer · int32 否 微量量.
maxQuantity integer · int32 否 马克斯量.
validFrom string · date-time 否 有效的.
validTo string · date-time 否 适用于.
changedAt string · date-time 否 改变了
quantityTo integer · int32 否 量到.
quantityFrom integer · int32 否 量从.
{
  "id": 1001,
  "name": "Example",
  "categoryClass": "SHOES",
  "clientId": 1001,
  "organizationId": 1001,
  "deleted": false
}
错误20

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

400error_cant_extract_tariffs
无法获取费率。请联系支持团队

应用逻辑中使用稳定的error_cant_extract_tariffs代码;localMessage包含上述翻译.

400error_empty_job_price
未指定的价格做工作

应用逻辑中使用稳定的error_empty_job_price代码;localMessage包含上述翻译.

400error_empty_tariff_price
税号{position}没有注明价格。

应用逻辑中使用稳定的error_empty_tariff_price代码;localMessage包含上述翻译.

400error_empty_tariff_priority
对关税号{position}不给予优先权。

应用逻辑中使用稳定的error_empty_tariff_priority代码;localMessage包含上述翻译.

400error_empty_tariffs
没有规定关税

应用逻辑中使用稳定的error_empty_tariffs代码;localMessage包含上述翻译.

400error_fulfillment_catalog_organization_required
需要实现目录组织

应用逻辑中使用稳定的error_fulfillment_catalog_organization_required代码;localMessage包含上述翻译.

400error_fulfillment_invalid_client_pricing
Invalid organization price configuration

应用逻辑中使用稳定的error_fulfillment_invalid_client_pricing代码;localMessage包含上述翻译.

400error_invalid_fulfillment_logistics_template
请选择物流模板

应用逻辑中使用稳定的error_invalid_fulfillment_logistics_template代码;localMessage包含上述翻译.

400error_invalid_fulfillment_service_type
无效的履约服务类型

应用逻辑中使用稳定的error_invalid_fulfillment_service_type代码;localMessage包含上述翻译.

400error_job_already_exists
一个名为 {jobName} 的工作已经存在

应用逻辑中使用稳定的error_job_already_exists代码;localMessage包含上述翻译.

400error_job_modified
工作数据已被更新。刷新页面。

应用逻辑中使用稳定的error_job_modified代码;localMessage包含上述翻译.

400error_job_tariff_wrong_product_id
项目ID不正确: {id}。

应用逻辑中使用稳定的error_job_tariff_wrong_product_id代码;localMessage包含上述翻译.

400error_logistics_invalid_pricing_config
物流不有效的定价配置

应用逻辑中使用稳定的error_logistics_invalid_pricing_config代码;localMessage包含上述翻译.

400error_no_client
没有找到该客户或已被删除。写信给支持部门

应用逻辑中使用稳定的error_no_client代码;localMessage包含上述翻译.

400error_storage_invalid_pricing_config
存储费率设置无效

应用逻辑中使用稳定的error_storage_invalid_pricing_config代码;localMessage包含上述翻译.

400error_storage_invalid_pricing_periods
请检查存储计费周期边界和价格

应用逻辑中使用稳定的error_storage_invalid_pricing_periods代码;localMessage包含上述翻译.

400error_storage_invalid_work
存储无效工作

应用逻辑中使用稳定的error_storage_invalid_work代码;localMessage包含上述翻译.

DELETE

移除约伯

/api/job/{jobId}
具有写入的标志

使用 DELETE /api/job/{jobId}. 删除工作

路径参数

字段类型必填描述
jobId integer · int32 是 工作身份证.

查询参数

字段类型必填描述
deleted boolean 是 删除了.
curl --request DELETE 'https://api.selsup.ru/api/job/1001?deleted=false' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
"string"
错误6

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

400error_cant_extract_tariffs
无法获取费率。请联系支持团队

应用逻辑中使用稳定的error_cant_extract_tariffs代码;localMessage包含上述翻译.

400error_job_modified
工作数据已被更新。刷新页面。

应用逻辑中使用稳定的error_job_modified代码;localMessage包含上述翻译.

400error_no_client
没有找到该客户或已被删除。写信给支持部门

应用逻辑中使用稳定的error_no_client代码;localMessage包含上述翻译.

GET

获得实现物流点

/api/job/fulfillment/logistics-points
读取访问的标志

使用GET/api/job/fulfillment/logistics-points.获得实现物流点

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

成功的反应

200
阵列项结构 FulfillmentLogisticsPoint[]
字段类型必填描述
pointName string 否 标题名
address string 否 现在,我有个地址.
marketplace string 否 市场.
destinationType string 否 目的地类型.
[
  "string"
]
错误3

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

PUT

保存实现物流点

/api/job/fulfillment/logistics-points
具有写入的标志

使用 PUT /api/job/fulfillment/logistics-points. 保存实现物流点

要求机构

application/json
阵列项结构FulfillmentLogisticsPoint[]
字段类型必填描述
pointName string 否 标题名
address string 否 现在,我有个地址.
marketplace string 否 市场.
destinationType string 否 目的地类型.
curl --request PUT 'https://api.selsup.ru/api/job/fulfillment/logistics-points' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '[
  "string"
]'

成功的反应

200
阵列项结构 FulfillmentLogisticsPoint[]
字段类型必填描述
pointName string 否 标题名
address string 否 现在,我有个地址.
marketplace string 否 市场.
destinationType string 否 目的地类型.
[
  "string"
]
错误3

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

POST

预览 完成工作

/api/job/fulfillment/excel/preview
具有写入的标志

预览 执行使用POST /api/job/fulfillment/excel/preview.

查询参数

字段类型必填描述
organizationId integer · int64 否 组织身份证.

要求机构

multipart/form-data
字段类型必填描述
file string · binary 是 文件.
curl --request POST 'https://api.selsup.ru/api/job/fulfillment/excel/preview' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --form 'file=@./file.bin'

成功的反应

200
对象场 FulfillmentJobImportPreview
字段类型必填描述
previewId string 否 预览身份证.
entries FulfillmentJobImportEntry[] 否 报名.
阵列项结构 FulfillmentJobImportEntry
字段类型必填描述
rowNumber integer · int32 否 排号.
job Job 否 工作.
对象场 Job
字段类型必填描述
id integer · int32 否 Id.
name string 否 姓名.
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 否 类别类.
clientId integer · int64 否 客户身份证.
organizationId integer · int64 否 组织身份证.
deleted boolean 否 删除了.
positionId integer · int64 否 位置身份.
versionId integer · int64 否 版本ID.
createdUser string 否 创建用户.
createdDate string · date-time 否 创造日期.
price number · double 否 价格.
fulfillmentService boolean 否 执行服务.
fulfillmentServiceType string 否 服务类型
logisticsTemplate string 否 运营模板
logisticsPricingConfig LogisticsPricingConfig 否 物流定价配置.
showInFulfillmentProfile boolean 否 显示在实现的个人资料.
fulfillmentProfileWarehouseIds integer[] 否 填写档案仓库身份证.
description string 否 描述
workCategory string 否 工作类别
calculationUnit string 否 计算单位.
automaticRequestTypes string[] 否 系统的要求类型
storageMethod stringVOLUME, ITEM, PALLET, CELL, FIXED 否 存储方法
storageUnit stringCUBIC_METER_DAY, LITER_DAY, ITEM_DAY, PALLET_DAY, CELL_DAY, PERIOD 否 储存单位.
storagePricingConfig StoragePricingConfig 否 存储价格配置
vatMode stringNONE, RATE, COMPANY_SETTINGS 否 电气模式.
fulfillmentCategory string 否 实现类别
unit string 否 单位.
currency string 否 货币.
employeeRate number · double 否 员工率
employeeCurrency string 否 员工货币.
vatRate number · double 否 率
vatIncluded boolean 否 含有
organizationPrices FulfillmentOrganizationPrice[] 否 组织价格.
plannedClientPrice FulfillmentPlannedPrice 否 预计客户价格.
priceVariants FulfillmentPriceVariant[] 否 价格变量.
tariffTypes FulfillmentJobTariffType[] 否 关税类型.
minimumAmount number · double 否 最低量
priceValidFrom string · date-time 否 价格有效从.
priceValidTo string · date-time 否 价格有效.
employeeRateValidFrom string · date-time 否 员工率有效期
employeeRateValidTo string · date-time 否 员工率有效
sample boolean 否 样本.
seedCode string 否 种子代码.
tariffs JobTariff[] 否 关税.
action string 否 行动.
error string 否 错误.
created integer · int32 否 创造了.
updated integer · int32 否 更新了.
archived integer · int32 否 存档.
errors integer · int32 否 错误.
valid boolean 否 现在,我们要去.
{
  "previewId": "string",
  "entries": "string",
  "created": 1,
  "updated": 1,
  "archived": 1,
  "errors": 1
}
错误4

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

400error_max_upload_size_exceeded
已超过允许的文件大小

应用逻辑中使用稳定的error_max_upload_size_exceeded代码;localMessage包含上述翻译.

POST

应用 完成 的 工作

/api/job/fulfillment/excel/apply
具有写入的标志

使用POST/api/job/fulfillment/excel/apply.应用完成工作

要求机构

application/json
对象场FulfillmentJobImportPreview
字段类型必填描述
previewId string 否 预览身份证.
entries FulfillmentJobImportEntry[] 否 报名.
阵列项结构 FulfillmentJobImportEntry
字段类型必填描述
rowNumber integer · int32 否 排号.
job Job 否 工作.
对象场 Job
字段类型必填描述
id integer · int32 否 Id.
name string 否 姓名.
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 否 类别类.
clientId integer · int64 否 客户身份证.
organizationId integer · int64 否 组织身份证.
deleted boolean 否 删除了.
positionId integer · int64 否 位置身份.
versionId integer · int64 否 版本ID.
createdUser string 否 创建用户.
createdDate string · date-time 否 创造日期.
price number · double 否 价格.
fulfillmentService boolean 否 执行服务.
fulfillmentServiceType string 否 服务类型
logisticsTemplate string 否 运营模板
logisticsPricingConfig LogisticsPricingConfig 否 物流定价配置.
showInFulfillmentProfile boolean 否 显示在实现的个人资料.
fulfillmentProfileWarehouseIds integer[] 否 填写档案仓库身份证.
description string 否 描述
workCategory string 否 工作类别
calculationUnit string 否 计算单位.
automaticRequestTypes string[] 否 系统的要求类型
storageMethod stringVOLUME, ITEM, PALLET, CELL, FIXED 否 存储方法
storageUnit stringCUBIC_METER_DAY, LITER_DAY, ITEM_DAY, PALLET_DAY, CELL_DAY, PERIOD 否 储存单位.
storagePricingConfig StoragePricingConfig 否 存储价格配置
vatMode stringNONE, RATE, COMPANY_SETTINGS 否 电气模式.
fulfillmentCategory string 否 实现类别
unit string 否 单位.
currency string 否 货币.
employeeRate number · double 否 员工率
employeeCurrency string 否 员工货币.
vatRate number · double 否 率
vatIncluded boolean 否 含有
organizationPrices FulfillmentOrganizationPrice[] 否 组织价格.
plannedClientPrice FulfillmentPlannedPrice 否 预计客户价格.
priceVariants FulfillmentPriceVariant[] 否 价格变量.
tariffTypes FulfillmentJobTariffType[] 否 关税类型.
minimumAmount number · double 否 最低量
priceValidFrom string · date-time 否 价格有效从.
priceValidTo string · date-time 否 价格有效.
employeeRateValidFrom string · date-time 否 员工率有效期
employeeRateValidTo string · date-time 否 员工率有效
sample boolean 否 样本.
seedCode string 否 种子代码.
tariffs JobTariff[] 否 关税.
action string 否 行动.
error string 否 错误.
created integer · int32 否 创造了.
updated integer · int32 否 更新了.
archived integer · int32 否 存档.
errors integer · int32 否 错误.
valid boolean 否 现在,我们要去.
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
}'

成功的反应

200
对象场 FulfillmentJobImportPreview
字段类型必填描述
previewId string 否 预览身份证.
entries FulfillmentJobImportEntry[] 否 报名.
阵列项结构 FulfillmentJobImportEntry
字段类型必填描述
rowNumber integer · int32 否 排号.
job Job 否 工作.
对象场 Job
字段类型必填描述
id integer · int32 否 Id.
name string 否 姓名.
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 否 类别类.
clientId integer · int64 否 客户身份证.
organizationId integer · int64 否 组织身份证.
deleted boolean 否 删除了.
positionId integer · int64 否 位置身份.
versionId integer · int64 否 版本ID.
createdUser string 否 创建用户.
createdDate string · date-time 否 创造日期.
price number · double 否 价格.
fulfillmentService boolean 否 执行服务.
fulfillmentServiceType string 否 服务类型
logisticsTemplate string 否 运营模板
logisticsPricingConfig LogisticsPricingConfig 否 物流定价配置.
showInFulfillmentProfile boolean 否 显示在实现的个人资料.
fulfillmentProfileWarehouseIds integer[] 否 填写档案仓库身份证.
description string 否 描述
workCategory string 否 工作类别
calculationUnit string 否 计算单位.
automaticRequestTypes string[] 否 系统的要求类型
storageMethod stringVOLUME, ITEM, PALLET, CELL, FIXED 否 存储方法
storageUnit stringCUBIC_METER_DAY, LITER_DAY, ITEM_DAY, PALLET_DAY, CELL_DAY, PERIOD 否 储存单位.
storagePricingConfig StoragePricingConfig 否 存储价格配置
vatMode stringNONE, RATE, COMPANY_SETTINGS 否 电气模式.
fulfillmentCategory string 否 实现类别
unit string 否 单位.
currency string 否 货币.
employeeRate number · double 否 员工率
employeeCurrency string 否 员工货币.
vatRate number · double 否 率
vatIncluded boolean 否 含有
organizationPrices FulfillmentOrganizationPrice[] 否 组织价格.
plannedClientPrice FulfillmentPlannedPrice 否 预计客户价格.
priceVariants FulfillmentPriceVariant[] 否 价格变量.
tariffTypes FulfillmentJobTariffType[] 否 关税类型.
minimumAmount number · double 否 最低量
priceValidFrom string · date-time 否 价格有效从.
priceValidTo string · date-time 否 价格有效.
employeeRateValidFrom string · date-time 否 员工率有效期
employeeRateValidTo string · date-time 否 员工率有效
sample boolean 否 样本.
seedCode string 否 种子代码.
tariffs JobTariff[] 否 关税.
action string 否 行动.
error string 否 错误.
created integer · int32 否 创造了.
updated integer · int32 否 更新了.
archived integer · int32 否 存档.
errors integer · int32 否 错误.
valid boolean 否 现在,我们要去.
{
  "previewId": "string",
  "entries": "string",
  "created": 1,
  "updated": 1,
  "archived": 1,
  "errors": 1
}
错误21

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

400error_cant_extract_tariffs
无法获取费率。请联系支持团队

应用逻辑中使用稳定的error_cant_extract_tariffs代码;localMessage包含上述翻译.

400error_empty_job_price
未指定的价格做工作

应用逻辑中使用稳定的error_empty_job_price代码;localMessage包含上述翻译.

400error_empty_tariff_price
税号{position}没有注明价格。

应用逻辑中使用稳定的error_empty_tariff_price代码;localMessage包含上述翻译.

400error_empty_tariff_priority
对关税号{position}不给予优先权。

应用逻辑中使用稳定的error_empty_tariff_priority代码;localMessage包含上述翻译.

400error_empty_tariffs
没有规定关税

应用逻辑中使用稳定的error_empty_tariffs代码;localMessage包含上述翻译.

400error_fulfillment_catalog_organization_required
需要实现目录组织

应用逻辑中使用稳定的error_fulfillment_catalog_organization_required代码;localMessage包含上述翻译.

400error_fulfillment_invalid_client_pricing
Invalid organization price configuration

应用逻辑中使用稳定的error_fulfillment_invalid_client_pricing代码;localMessage包含上述翻译.

400error_incorrect_excel
文件格式不正确。下载一个Excel电子表格。

应用逻辑中使用稳定的error_incorrect_excel代码;localMessage包含上述翻译.

400error_invalid_fulfillment_logistics_template
请选择物流模板

应用逻辑中使用稳定的error_invalid_fulfillment_logistics_template代码;localMessage包含上述翻译.

400error_invalid_fulfillment_service_type
无效的履约服务类型

应用逻辑中使用稳定的error_invalid_fulfillment_service_type代码;localMessage包含上述翻译.

400error_job_already_exists
一个名为 {jobName} 的工作已经存在

应用逻辑中使用稳定的error_job_already_exists代码;localMessage包含上述翻译.

400error_job_modified
工作数据已被更新。刷新页面。

应用逻辑中使用稳定的error_job_modified代码;localMessage包含上述翻译.

400error_job_tariff_wrong_product_id
项目ID不正确: {id}。

应用逻辑中使用稳定的error_job_tariff_wrong_product_id代码;localMessage包含上述翻译.

400error_logistics_invalid_pricing_config
物流不有效的定价配置

应用逻辑中使用稳定的error_logistics_invalid_pricing_config代码;localMessage包含上述翻译.

400error_no_client
没有找到该客户或已被删除。写信给支持部门

应用逻辑中使用稳定的error_no_client代码;localMessage包含上述翻译.

400error_storage_invalid_pricing_config
存储费率设置无效

应用逻辑中使用稳定的error_storage_invalid_pricing_config代码;localMessage包含上述翻译.

400error_storage_invalid_pricing_periods
请检查存储计费周期边界和价格

应用逻辑中使用稳定的error_storage_invalid_pricing_periods代码;localMessage包含上述翻译.

400error_storage_invalid_work
存储无效工作

应用逻辑中使用稳定的error_storage_invalid_work代码;localMessage包含上述翻译.

POST

职位工作

/api/job/
具有写入的标志

使用 POST /api/job/. 发布工作

要求机构

application/json
对象场Job
字段类型必填描述
id integer · int32 否 Id.
name string 否 姓名.
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 否 类别类.
clientId integer · int64 否 客户身份证.
organizationId integer · int64 否 组织身份证.
deleted boolean 否 删除了.
positionId integer · int64 否 位置身份.
versionId integer · int64 否 版本ID.
createdUser string 否 创建用户.
createdDate string · date-time 否 创造日期.
price number · double 否 价格.
fulfillmentService boolean 否 执行服务.
fulfillmentServiceType string 否 服务类型
logisticsTemplate string 否 运营模板
logisticsPricingConfig LogisticsPricingConfig 否 物流定价配置.
对象场 LogisticsPricingConfig
字段类型必填描述
origin string 否 起源.
template string 否 模板.
routes LogisticsTariff[] 否 路线.
阵列项结构 LogisticsTariff
字段类型必填描述
pointName string 否 标题名
marketplace string 否 市场.
marketplaceWarehouseId integer · int64 否 商场仓库身份证.
destinationType string 否 目的地类型.
address string 否 现在,我有个地址.
vehicle string 否 车辆.
vehicleName string 否 车辆名称.
transportFormat string 否 运输格式.
transportUnit string 否 交通部.
pricingType string 否 价格类型.
firstUnitPrice number · double 否 首个单位价格.
nextUnitPrice number · double 否 下一个单位价格.
pricePerUnit number · double 否 单位价格
maximumUnits integer · int32 否 最大单位.
maximumSurchargedUnits integer · int32 否 充电量最大的单位.
fixedPrice number · double 否 定价.
comment string 否 评论.
freeWaitingHours number · double 否 免费等待时间.
waitingPricePerHour number · double 否 预计每小时的价格.
waitRounding string 否 待一下.
waitingTariffs LogisticsWaitingTariff[] 否 预计关税.
savedRoutes LogisticsTariff[] 否 拯救路线.
阵列项结构 LogisticsTariff
字段类型必填描述
pointName string 否 标题名
marketplace string 否 市场.
marketplaceWarehouseId integer · int64 否 商场仓库身份证.
destinationType string 否 目的地类型.
address string 否 现在,我有个地址.
vehicle string 否 车辆.
vehicleName string 否 车辆名称.
transportFormat string 否 运输格式.
transportUnit string 否 交通部.
pricingType string 否 价格类型.
firstUnitPrice number · double 否 首个单位价格.
nextUnitPrice number · double 否 下一个单位价格.
pricePerUnit number · double 否 单位价格
maximumUnits integer · int32 否 最大单位.
maximumSurchargedUnits integer · int32 否 充电量最大的单位.
fixedPrice number · double 否 定价.
comment string 否 评论.
freeWaitingHours number · double 否 免费等待时间.
waitingPricePerHour number · double 否 预计每小时的价格.
waitRounding string 否 待一下.
waitingTariffs LogisticsWaitingTariff[] 否 预计关税.
ownPoints OwnPoint[] 否 自己的点.
阵列项结构 OwnPoint
字段类型必填描述
pointName string 否 标题名
address string 否 现在,我有个地址.
marketplace string 否 市场.
destinationType string 否 目的地类型.
showInFulfillmentProfile boolean 否 显示在实现的个人资料.
fulfillmentProfileWarehouseIds integer[] 否 填写档案仓库身份证.
description string 否 描述
workCategory string 否 工作类别
calculationUnit string 否 计算单位.
automaticRequestTypes string[] 否 系统的要求类型
storageMethod stringVOLUME, ITEM, PALLET, CELL, FIXED 否 存储方法
storageUnit stringCUBIC_METER_DAY, LITER_DAY, ITEM_DAY, PALLET_DAY, CELL_DAY, PERIOD 否 储存单位.
storagePricingConfig StoragePricingConfig 否 存储价格配置
对象场 StoragePricingConfig
字段类型必填描述
chargeBasis string 否 充电基地.
timeUnit string 否 时间单位.
monthlyCalculation string 否 计数月数.
freeDays integer · int32 否 免费的日子.
agePricingEnabled boolean 否 年龄定价已启用.
ageBasis string 否 年龄基础.
pricePeriods StoragePricePeriod[] 否 价格期
阵列项结构 StoragePricePeriod
字段类型必填描述
toDay integer · int32 否 现在,我们要去.
price number · double 否 价格.
minimumQuantity number · double 否 极限量.
roundingStep number · double 否 圆形步骤.
dispatchDay string 否 发送日.
vatMode stringNONE, RATE, COMPANY_SETTINGS 否 电气模式.
fulfillmentCategory string 否 实现类别
unit string 否 单位.
currency string 否 货币.
employeeRate number · double 否 员工率
employeeCurrency string 否 员工货币.
vatRate number · double 否 率
vatIncluded boolean 否 含有
organizationPrices FulfillmentOrganizationPrice[] 否 组织价格.
阵列项结构 FulfillmentOrganizationPrice
字段类型必填描述
organizationId integer · int64 否 组织身份证.
vatMode string 否 电气模式.
vatRate number · double 否 率
vatIncluded boolean 否 含有
plannedClientPrice FulfillmentPlannedPrice 否 预计客户价格.
对象场 FulfillmentPlannedPrice
字段类型必填描述
price number · double 否 价格.
validFrom string · date-time 否 有效的.
validTo string · date-time 否 适用于.
indefinite boolean 否 无限期.
currency string 否 货币.
minimumAmount number · double 否 最低量
priceVariants FulfillmentPriceVariant[] 否 价格变量.
阵列项结构 FulfillmentPriceVariant
字段类型必填描述
id string 否 Id.
name string 否 姓名.
subject string 否 问题.
weightFrom number · double 否 体重从.
weightTo number · double 否 体重到.
weightUnit string 否 体重单位.
lengthFrom number · double 否 距离的长度.
lengthTo number · double 否 长度到.
widthFrom number · double 否 宽度从.
widthTo number · double 否 宽度到
heightFrom number · double 否 距离高度.
heightTo number · double 否 升到高度.
countFrom number · double 否 伯爵从.
countTo number · double 否 算到.
countUnit string 否 伯爵单位.
surchargeMetric string 否 补充量计.
price number · double 否 价格.
mode string 否 模式.
surchargeThreshold number · double 否 额外收费门.
surchargeStep number · double 否 补充措施.
surchargeAmount number · double 否 额外收费.
roundPartialStepUp boolean 否 圆部分步骤.
clientPrices FulfillmentPriceVariantClientPrice[] 否 客户价格.
阵列项结构 FulfillmentPriceVariantClientPrice
字段类型必填描述
clientId integer · int64 否 客户身份证.
price number · double 否 价格.
tariffTypes FulfillmentJobTariffType[] 否 关税类型.
阵列项结构 FulfillmentJobTariffType
字段类型必填描述
id string 否 Id.
name string 否 姓名.
price number · double 否 价格.
warehouseId integer · int64 否 仓库身份证.
currency string 否 货币.
minimumAmount number · double 否 最低量
validFrom string 否 有效的.
validTo string 否 适用于.
minimumAmount number · double 否 最低量
priceValidFrom string · date-time 否 价格有效从.
priceValidTo string · date-time 否 价格有效.
employeeRateValidFrom string · date-time 否 员工率有效期
employeeRateValidTo string · date-time 否 员工率有效
sample boolean 否 样本.
seedCode string 否 种子代码.
tariffs JobTariff[] 否 关税.
阵列项结构 JobTariff
字段类型必填描述
id integer · int64 否 Id.
jobId integer · int32 否 工作身份证.
price number · double 否 价格.
clientId integer · int64 否 客户身份证.
employeeRate number · double 否 员工率
brandId integer · int32 否 品牌身份证.
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 否 类别类.
categoryId integer · int32 否 类别的ID.
priority integer · int32 否 优先考虑.
productId integer · int64 否 产品身份证
minQuantity integer · int32 否 微量量.
maxQuantity integer · int32 否 马克斯量.
validFrom string · date-time 否 有效的.
validTo string · date-time 否 适用于.
changedAt string · date-time 否 改变了
quantityTo integer · int32 否 量到.
quantityFrom integer · int32 否 量从.
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
}'

成功的反应

200
对象场 Job
字段类型必填描述
id integer · int32 否 Id.
name string 否 姓名.
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 否 类别类.
clientId integer · int64 否 客户身份证.
organizationId integer · int64 否 组织身份证.
deleted boolean 否 删除了.
positionId integer · int64 否 位置身份.
versionId integer · int64 否 版本ID.
createdUser string 否 创建用户.
createdDate string · date-time 否 创造日期.
price number · double 否 价格.
fulfillmentService boolean 否 执行服务.
fulfillmentServiceType string 否 服务类型
logisticsTemplate string 否 运营模板
logisticsPricingConfig LogisticsPricingConfig 否 物流定价配置.
对象场 LogisticsPricingConfig
字段类型必填描述
origin string 否 起源.
template string 否 模板.
routes LogisticsTariff[] 否 路线.
阵列项结构 LogisticsTariff
字段类型必填描述
pointName string 否 标题名
marketplace string 否 市场.
marketplaceWarehouseId integer · int64 否 商场仓库身份证.
destinationType string 否 目的地类型.
address string 否 现在,我有个地址.
vehicle string 否 车辆.
vehicleName string 否 车辆名称.
transportFormat string 否 运输格式.
transportUnit string 否 交通部.
pricingType string 否 价格类型.
firstUnitPrice number · double 否 首个单位价格.
nextUnitPrice number · double 否 下一个单位价格.
pricePerUnit number · double 否 单位价格
maximumUnits integer · int32 否 最大单位.
maximumSurchargedUnits integer · int32 否 充电量最大的单位.
fixedPrice number · double 否 定价.
comment string 否 评论.
freeWaitingHours number · double 否 免费等待时间.
waitingPricePerHour number · double 否 预计每小时的价格.
waitRounding string 否 待一下.
waitingTariffs LogisticsWaitingTariff[] 否 预计关税.
savedRoutes LogisticsTariff[] 否 拯救路线.
阵列项结构 LogisticsTariff
字段类型必填描述
pointName string 否 标题名
marketplace string 否 市场.
marketplaceWarehouseId integer · int64 否 商场仓库身份证.
destinationType string 否 目的地类型.
address string 否 现在,我有个地址.
vehicle string 否 车辆.
vehicleName string 否 车辆名称.
transportFormat string 否 运输格式.
transportUnit string 否 交通部.
pricingType string 否 价格类型.
firstUnitPrice number · double 否 首个单位价格.
nextUnitPrice number · double 否 下一个单位价格.
pricePerUnit number · double 否 单位价格
maximumUnits integer · int32 否 最大单位.
maximumSurchargedUnits integer · int32 否 充电量最大的单位.
fixedPrice number · double 否 定价.
comment string 否 评论.
freeWaitingHours number · double 否 免费等待时间.
waitingPricePerHour number · double 否 预计每小时的价格.
waitRounding string 否 待一下.
waitingTariffs LogisticsWaitingTariff[] 否 预计关税.
ownPoints OwnPoint[] 否 自己的点.
阵列项结构 OwnPoint
字段类型必填描述
pointName string 否 标题名
address string 否 现在,我有个地址.
marketplace string 否 市场.
destinationType string 否 目的地类型.
showInFulfillmentProfile boolean 否 显示在实现的个人资料.
fulfillmentProfileWarehouseIds integer[] 否 填写档案仓库身份证.
description string 否 描述
workCategory string 否 工作类别
calculationUnit string 否 计算单位.
automaticRequestTypes string[] 否 系统的要求类型
storageMethod stringVOLUME, ITEM, PALLET, CELL, FIXED 否 存储方法
storageUnit stringCUBIC_METER_DAY, LITER_DAY, ITEM_DAY, PALLET_DAY, CELL_DAY, PERIOD 否 储存单位.
storagePricingConfig StoragePricingConfig 否 存储价格配置
对象场 StoragePricingConfig
字段类型必填描述
chargeBasis string 否 充电基地.
timeUnit string 否 时间单位.
monthlyCalculation string 否 计数月数.
freeDays integer · int32 否 免费的日子.
agePricingEnabled boolean 否 年龄定价已启用.
ageBasis string 否 年龄基础.
pricePeriods StoragePricePeriod[] 否 价格期
阵列项结构 StoragePricePeriod
字段类型必填描述
toDay integer · int32 否 现在,我们要去.
price number · double 否 价格.
minimumQuantity number · double 否 极限量.
roundingStep number · double 否 圆形步骤.
dispatchDay string 否 发送日.
vatMode stringNONE, RATE, COMPANY_SETTINGS 否 电气模式.
fulfillmentCategory string 否 实现类别
unit string 否 单位.
currency string 否 货币.
employeeRate number · double 否 员工率
employeeCurrency string 否 员工货币.
vatRate number · double 否 率
vatIncluded boolean 否 含有
organizationPrices FulfillmentOrganizationPrice[] 否 组织价格.
阵列项结构 FulfillmentOrganizationPrice
字段类型必填描述
organizationId integer · int64 否 组织身份证.
vatMode string 否 电气模式.
vatRate number · double 否 率
vatIncluded boolean 否 含有
plannedClientPrice FulfillmentPlannedPrice 否 预计客户价格.
对象场 FulfillmentPlannedPrice
字段类型必填描述
price number · double 否 价格.
validFrom string · date-time 否 有效的.
validTo string · date-time 否 适用于.
indefinite boolean 否 无限期.
currency string 否 货币.
minimumAmount number · double 否 最低量
priceVariants FulfillmentPriceVariant[] 否 价格变量.
阵列项结构 FulfillmentPriceVariant
字段类型必填描述
id string 否 Id.
name string 否 姓名.
subject string 否 问题.
weightFrom number · double 否 体重从.
weightTo number · double 否 体重到.
weightUnit string 否 体重单位.
lengthFrom number · double 否 距离的长度.
lengthTo number · double 否 长度到.
widthFrom number · double 否 宽度从.
widthTo number · double 否 宽度到
heightFrom number · double 否 距离高度.
heightTo number · double 否 升到高度.
countFrom number · double 否 伯爵从.
countTo number · double 否 算到.
countUnit string 否 伯爵单位.
surchargeMetric string 否 补充量计.
price number · double 否 价格.
mode string 否 模式.
surchargeThreshold number · double 否 额外收费门.
surchargeStep number · double 否 补充措施.
surchargeAmount number · double 否 额外收费.
roundPartialStepUp boolean 否 圆部分步骤.
clientPrices FulfillmentPriceVariantClientPrice[] 否 客户价格.
阵列项结构 FulfillmentPriceVariantClientPrice
字段类型必填描述
clientId integer · int64 否 客户身份证.
price number · double 否 价格.
tariffTypes FulfillmentJobTariffType[] 否 关税类型.
阵列项结构 FulfillmentJobTariffType
字段类型必填描述
id string 否 Id.
name string 否 姓名.
price number · double 否 价格.
warehouseId integer · int64 否 仓库身份证.
currency string 否 货币.
minimumAmount number · double 否 最低量
validFrom string 否 有效的.
validTo string 否 适用于.
minimumAmount number · double 否 最低量
priceValidFrom string · date-time 否 价格有效从.
priceValidTo string · date-time 否 价格有效.
employeeRateValidFrom string · date-time 否 员工率有效期
employeeRateValidTo string · date-time 否 员工率有效
sample boolean 否 样本.
seedCode string 否 种子代码.
tariffs JobTariff[] 否 关税.
阵列项结构 JobTariff
字段类型必填描述
id integer · int64 否 Id.
jobId integer · int32 否 工作身份证.
price number · double 否 价格.
clientId integer · int64 否 客户身份证.
employeeRate number · double 否 员工率
brandId integer · int32 否 品牌身份证.
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 否 类别类.
categoryId integer · int32 否 类别的ID.
priority integer · int32 否 优先考虑.
productId integer · int64 否 产品身份证
minQuantity integer · int32 否 微量量.
maxQuantity integer · int32 否 马克斯量.
validFrom string · date-time 否 有效的.
validTo string · date-time 否 适用于.
changedAt string · date-time 否 改变了
quantityTo integer · int32 否 量到.
quantityFrom integer · int32 否 量从.
{
  "id": 1001,
  "name": "Example",
  "categoryClass": "SHOES",
  "clientId": 1001,
  "organizationId": 1001,
  "deleted": false
}
错误19

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

400error_cant_extract_tariffs
无法获取费率。请联系支持团队

应用逻辑中使用稳定的error_cant_extract_tariffs代码;localMessage包含上述翻译.

400error_empty_job_price
未指定的价格做工作

应用逻辑中使用稳定的error_empty_job_price代码;localMessage包含上述翻译.

400error_empty_tariff_price
税号{position}没有注明价格。

应用逻辑中使用稳定的error_empty_tariff_price代码;localMessage包含上述翻译.

400error_empty_tariff_priority
对关税号{position}不给予优先权。

应用逻辑中使用稳定的error_empty_tariff_priority代码;localMessage包含上述翻译.

400error_empty_tariffs
没有规定关税

应用逻辑中使用稳定的error_empty_tariffs代码;localMessage包含上述翻译.

400error_fulfillment_catalog_organization_required
需要实现目录组织

应用逻辑中使用稳定的error_fulfillment_catalog_organization_required代码;localMessage包含上述翻译.

400error_fulfillment_invalid_client_pricing
Invalid organization price configuration

应用逻辑中使用稳定的error_fulfillment_invalid_client_pricing代码;localMessage包含上述翻译.

400error_invalid_fulfillment_logistics_template
请选择物流模板

应用逻辑中使用稳定的error_invalid_fulfillment_logistics_template代码;localMessage包含上述翻译.

400error_invalid_fulfillment_service_type
无效的履约服务类型

应用逻辑中使用稳定的error_invalid_fulfillment_service_type代码;localMessage包含上述翻译.

400error_job_already_exists
一个名为 {jobName} 的工作已经存在

应用逻辑中使用稳定的error_job_already_exists代码;localMessage包含上述翻译.

400error_job_tariff_wrong_product_id
项目ID不正确: {id}。

应用逻辑中使用稳定的error_job_tariff_wrong_product_id代码;localMessage包含上述翻译.

400error_logistics_invalid_pricing_config
物流不有效的定价配置

应用逻辑中使用稳定的error_logistics_invalid_pricing_config代码;localMessage包含上述翻译.

400error_no_client
没有找到该客户或已被删除。写信给支持部门

应用逻辑中使用稳定的error_no_client代码;localMessage包含上述翻译.

400error_storage_invalid_pricing_config
存储费率设置无效

应用逻辑中使用稳定的error_storage_invalid_pricing_config代码;localMessage包含上述翻译.

400error_storage_invalid_pricing_periods
请检查存储计费周期边界和价格

应用逻辑中使用稳定的error_storage_invalid_pricing_periods代码;localMessage包含上述翻译.

400error_storage_invalid_work
存储无效工作

应用逻辑中使用稳定的error_storage_invalid_work代码;localMessage包含上述翻译.

GET

获取工作税收历史

/api/job/{jobId}/tariff-history
读取访问的标志

使用 GET /api/job/{jobId}/tariff-history.获取工作关税历史

路径参数

字段类型必填描述
jobId integer · int32 是 工作身份证.
curl --request GET 'https://api.selsup.ru/api/job/1001/tariff-history' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
阵列项结构 JobTariffHistory[]
字段类型必填描述
id integer · int64 否 Id.
jobId integer · int32 否 工作身份证.
tariffId integer · int64 否 关税证.
eventType string 否 事件类型.
price number · double 否 价格.
employeeRate number · double 否 员工率
clientId integer · int64 否 客户身份证.
brandId integer · int32 否 品牌身份证.
categoryClass string 否 类别类.
categoryId integer · int32 否 类别的ID.
productId integer · int64 否 产品身份证
quantityFrom integer · int32 否 量从.
quantityTo integer · int32 否 量到.
validFrom string · date-time 否 有效的.
validTo string · date-time 否 适用于.
changedAt string · date-time 否 改变了
changedBy string 否 改变了.
[
  "string"
]
错误6

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

400error_cant_extract_tariffs
无法获取费率。请联系支持团队

应用逻辑中使用稳定的error_cant_extract_tariffs代码;localMessage包含上述翻译.

400error_no_client
没有找到该客户或已被删除。写信给支持部门

应用逻辑中使用稳定的error_no_client代码;localMessage包含上述翻译.

400error_subscription_expired
你的费率已经过期。支付关税以继续使用该服务。

应用逻辑中使用稳定的error_subscription_expired代码;localMessage包含上述翻译.

GET

获取工作位历史

/api/job/{jobId}/fulfillment/tariff-history
读取访问的标志

使用 GET /api/job/{jobId}/fulfillment/tariff-history.获取完成工作关税历史

路径参数

字段类型必填描述
jobId integer · int32 是 工作身份证.
curl --request GET 'https://api.selsup.ru/api/job/1001/fulfillment/tariff-history' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
阵列项结构 JobTariff[]
字段类型必填描述
id integer · int64 否 Id.
jobId integer · int32 否 工作身份证.
price number · double 否 价格.
clientId integer · int64 否 客户身份证.
employeeRate number · double 否 员工率
brandId integer · int32 否 品牌身份证.
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 否 类别类.
categoryId integer · int32 否 类别的ID.
priority integer · int32 否 优先考虑.
productId integer · int64 否 产品身份证
minQuantity integer · int32 否 微量量.
maxQuantity integer · int32 否 马克斯量.
validFrom string · date-time 否 有效的.
validTo string · date-time 否 适用于.
changedAt string · date-time 否 改变了
quantityTo integer · int32 否 量到.
quantityFrom integer · int32 否 量从.
[
  "string"
]
错误6

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

400error_cant_extract_tariffs
无法获取费率。请联系支持团队

应用逻辑中使用稳定的error_cant_extract_tariffs代码;localMessage包含上述翻译.

400error_incorrect_job
无效的工作

应用逻辑中使用稳定的error_incorrect_job代码;localMessage包含上述翻译.

400error_no_client
没有找到该客户或已被删除。写信给支持部门

应用逻辑中使用稳定的error_no_client代码;localMessage包含上述翻译.

GET

进口完成工程

/api/job/fulfillment/excel
读取访问的标志

运输执行使用GET/api/job/fulfillment/excel.

查询参数

字段类型必填描述
includeCurrent默认值: true boolean 否 加入电流.
organizationId integer · int64 否 组织身份证.
curl --request GET 'https://api.selsup.ru/api/job/fulfillment/excel' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
"string"
错误3

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

Authorization

测试请求的标志

获取 API 令牌

代币存储在本浏览器的本地存储库中,只会在要求的Authorization头上发送到 api.selsup.ru.

试一试

实际请求参数

现场API响应

发送请求查看SelSup的响应.