ApexERPHost

<back to all web services

SaveGlovoProductsParamsDocument

Requires Authentication
The following routes are available for this service:
POST/Glovo/Products/Params/Document/Import
SaveGlovoProductsParamsDocument Parameters:
NameParameterData TypeRequiredDescription
DatabodyList<ProductsWithGlovoParams>No
ProductsWithGlovoParams Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ProdPP_idformstringNo
BCodeformstringNo
ProductNameformstringNo
UnitformstringNo
PriceGRformdecimalNo
PriceWithCoefformdecimal?No
SupercollectionIdformint?No
CollectionIdformint?No
UnitCoefformdecimalNo
SectionIdformint?No
ImageUrlformstringNo
SupercollecionNameformstringNo
SupercollectionPositionformint?No
SupercollectionImageUrlformstringNo
CollectionNameformstringNo
CollectionPositionformint?No
CollectionImageUrlformstringNo
SectionNameformstringNo
SectionPositionformint?No
CategoryNameformstringNo
PPCatNameformstringNo
SpendformboolNo
SaveGlovoProductsParamsDocumentResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + 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
}