PDF Export

Get the AVS gifts data.
Path mapping(intern): /net/dsb/avs3/Gifts/getGifts-1.0.0
SAP REST: /GET_SHOP_GIFTS

URL

GET: /rest/{client}/gifts?so=xx

ParameterDescription
client client id
sp service provider. (mandatory if the user account can use different service provider values)
so Sales Organization
gift If the parameter is empty all gifts will be returned, otherwise a single gift . As this is a customizing setting the parameter can be optional or mandatory depending on the client requirements.
set Returns all gifts assigned to a specific gift set. As this is a customizing setting the parameter can be optional or mandatory depending on the client requirements.

Response

The response is a JSON document.

Example (formated to improve readability):

[
  {
    "CLIENT": "295",
    "GIFT": "B00038", //MATNR
    "GIFT_SHORT_DESC": "B00038", //KURZTEXT
    "GIFT_LONG_DESC": "Windpower Business Dir 2012/13", //LANGTEXT
    "STOCK": 30, // /DSB/LAGERBEST
    "MIN_STOCK": "",
    "OUT_OF_STOCK": "", // XMATVERGRF
    "DEL_FLAG_MASTER_DATA": "", // LOEVM
    "ADD_PAYMENT": "", // /DSB/ZUZAHLBETR
    "ADD_PAYMENT_CURRENCY": "" // /DSB/ZUZAHLWAER
    "PAY_OF_PREMIUM": "" // /DSB/X_AUSZPRM
    "MATERIAL_GROUP": ""
  },
  {
    "CLIENT": "295",
    "GIFT": "B00039",
    "GIFT_SHORT_DESC": "B00039",
    "GIFT_LONG_DESC": "Nursery World Show 2012",
    "STOCK": 0,
    "MIN_STOCK": "",
    "OUT_OF_STOCK": "",
    "DEL_FLAG_MASTER_DATA": "",
    "ADD_PAYMENT": "",
    "ADD_PAYMENT_CURRENCY": ""
    "PAY_OF_PREMIUM": ""
    "MATERIAL_GROUP": ""
  }
]
JSON FieldDescription
CLIENT Client
GIFT Article number of Gift
GIFT_SHORT_DESCShort description
GIFT_LONG_DESC Long description
STOCK Stock
MIN_STOCKmin. Stock
OUT_OF_STOCKFlag out of stock
DEL_FLAG_MASTER_DATAdel. flag master data
ADD_PAYMENTAmount add payment
ADD_PAYMENT_CURRENCYCurrency add payment
PAY_OF_PREMIUM flag pay of premium
MATERIAL_GROUPMaterial group
HTTP Response StatusBedeutung
200 Success
401 Authorization required
500 Internal error


This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information