POST services/api/v1/Save_ImportSingleProduct

Request Information

URI Parameters

None.

Body Parameters

Import_Product
NameDescriptionTypeAdditional information
ProductName

string

None.

Barcode

string

None.

CostPrice

decimal number

None.

SellingPrice

decimal number

None.

DepartmentId

integer

None.

CategoryId

integer

None.

SubCategoryId

integer

None.

UnitId

integer

None.

Contain

string

None.

BrandId

integer

None.

ShortName

string

None.

SupplierId

integer

None.

ReferenceNumber

string

None.

ItemID

integer

None.

ArabicName

string

None.

ColorId

integer

None.

SizeId

integer

None.

BranchId

integer

None.

LocationId

integer

None.

SellingPriceLevelId

integer

None.

Taxcode

integer

None.

WeighingScale

boolean

None.

Active

boolean

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductName": "sample string 1",
  "Barcode": "sample string 2",
  "CostPrice": 3.0,
  "SellingPrice": 4.0,
  "DepartmentId": 5,
  "CategoryId": 6,
  "SubCategoryId": 7,
  "UnitId": 8,
  "Contain": "sample string 9",
  "BrandId": 10,
  "ShortName": "sample string 11",
  "SupplierId": 12,
  "ReferenceNumber": "sample string 13",
  "ItemID": 14,
  "ArabicName": "sample string 15",
  "ColorId": 16,
  "SizeId": 17,
  "BranchId": 18,
  "LocationId": 19,
  "SellingPriceLevelId": 20,
  "Taxcode": 21,
  "WeighingScale": true,
  "Active": true,
  "UserId": 24
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Import_Product
NameDescriptionTypeAdditional information
ProductName

string

None.

Barcode

string

None.

CostPrice

decimal number

None.

SellingPrice

decimal number

None.

DepartmentId

integer

None.

CategoryId

integer

None.

SubCategoryId

integer

None.

UnitId

integer

None.

Contain

string

None.

BrandId

integer

None.

ShortName

string

None.

SupplierId

integer

None.

ReferenceNumber

string

None.

ItemID

integer

None.

ArabicName

string

None.

ColorId

integer

None.

SizeId

integer

None.

BranchId

integer

None.

LocationId

integer

None.

SellingPriceLevelId

integer

None.

Taxcode

integer

None.

WeighingScale

boolean

None.

Active

boolean

None.

UserId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ProductName": "sample string 1",
  "Barcode": "sample string 2",
  "CostPrice": 3.0,
  "SellingPrice": 4.0,
  "DepartmentId": 5,
  "CategoryId": 6,
  "SubCategoryId": 7,
  "UnitId": 8,
  "Contain": "sample string 9",
  "BrandId": 10,
  "ShortName": "sample string 11",
  "SupplierId": 12,
  "ReferenceNumber": "sample string 13",
  "ItemID": 14,
  "ArabicName": "sample string 15",
  "ColorId": 16,
  "SizeId": 17,
  "BranchId": 18,
  "LocationId": 19,
  "SellingPriceLevelId": 20,
  "Taxcode": 21,
  "WeighingScale": true,
  "Active": true,
  "UserId": 24
}