Skip to main content

Import Extra Data Names

Import Records

Imports Extra data names records to the selected index

REST API ExtraDataNameApi/importExtraData

ParametersDescriptionParameter Options/value
myindex
Required
acc- for accounts
itm- for items
'acc'
'itm'
rows
Required
extra data object array See table below

JSON Body Example

{
...
"rows": [
{
...
},
{
...
}
]
}

Extra data names Data

The following parameters should be included in a rows array (see examples below)

FieldName-transTypeDescriptionתיאורDefault
TypeExtraData
Required
Sums- for sums name
Dates- for dates name
Notes- for notes name
סוג נתוניםType Extra Data
Name
Required
String (max 50)שםName
EnNameString (max 50)שם בלועזיEnglish namenullOnly allowed if
myindex='itm'
IShowFlag 0/1להציג בחנותShow in store0
ISortFlag 0/1לאפשר מיוןEnable sort0Only allowed if
myindex='itm'
and
'IShowFlag=1'
IFilterFlag0/1לאפשר סינוןEnable filter0
ITopFlag 0/1תצוגה בכותרתView in top0
IDetFlag 0/1תצוגה בפרטיםView in detail0

JSON Examples

Example for itm index

{
"myindex": "itm",
"rows": [
{
"TypeExtraData": "Dates",
"Name": "תאריך לידה",
"EnName": "birth-day",
"IShowFlag": 1,
"ISortFlag": 0,
"IFilterFlag": 0,
"ITopFlag": 0,
"IDetFlag": 1
},
{
"TypeExtraData": "Notes",
"Name": "יצרן",
"EnName": "Manufacturer"
}
]
}


Example for acc index


{
"myindex": "acc",
"rows": [
{
"TypeExtraData": "Dates",
"Name": "תאריך לידה"
},
{
"TypeExtraData": "Notes",
"Name": "יצרן"
}
]
}

Extra data OutputData

NameOptions
statusCode200 – OK / 500 - Errors
status
errorsOK / Errors: "error description" / No Permission