POST | /Glovo/Products/Params/Document/Import |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Data | body | List<ProductsWithGlovoParams> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
ProdPP_id | form | string | No | |
BCode | form | string | No | |
ProductName | form | string | No | |
Unit | form | string | No | |
PriceGR | form | decimal | No | |
PriceWithCoef | form | decimal? | No | |
SupercollectionId | form | int? | No | |
CollectionId | form | int? | No | |
UnitCoef | form | decimal | No | |
SectionId | form | int? | No | |
ImageUrl | form | string | No | |
SupercollecionName | form | string | No | |
SupercollectionPosition | form | int? | No | |
SupercollectionImageUrl | form | string | No | |
CollectionName | form | string | No | |
CollectionPosition | form | int? | No | |
CollectionImageUrl | form | string | No | |
SectionName | form | string | No | |
SectionPosition | form | int? | No | |
CategoryName | form | string | No | |
PPCatName | form | string | No | |
Spend | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Glovo/Products/Params/Document/Import HTTP/1.1
Host: apex.nikoratrade.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Data:
[
{
Id: 0,
ProdPP_id: String,
BCode: String,
ProductName: String,
Unit: String,
PriceGR: 0,
PriceWithCoef: 0,
SupercollectionId: 0,
CollectionId: 0,
UnitCoef: 0,
SectionId: 0,
ImageUrl: String,
SupercollecionName: String,
SupercollectionPosition: 0,
SupercollectionImageUrl: String,
CollectionName: String,
CollectionPosition: 0,
CollectionImageUrl: String,
SectionName: String,
SectionPosition: 0,
CategoryName: String,
PPCatName: String,
Spend: False
}
]
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ResponseStatus: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String, Meta: { String: String } } ], Meta: { String: String } }, Result: False }