Net Rate Scheme API v2

From Memsource
Jump to: navigation, search

List Net Rate Schemes

action: api/v2/discountScheme/list
    token                       string

response: JSON
    [
      {
        "id":1,
        "name":"Predefined"
        "netRates":{
          "transMemory":{
            "match75":100,
            "match50":100,
            "match100":10,
            "match101":10,
            "match0":100,
            "match95":33,
            "match85":66
          },
          "machineTrans":{
            "match75":100,
            "match50":100,
            "match100":30,
            "match0":100,
            "match95":40,
            "match85":70
          },
          "repetition":10
        }
      }
    ]