POST api/update-correction

Request Information

URI Parameters

None.

Body Parameters

UpdateCorrectionParams
NameDescriptionTypeAdditional information
ComId

string

None.

TransId

integer

None.

Services

Collection of CorrectionObj

None.

Techs

Collection of CorrectionTechItemObj

None.

Request Formats

application/json, text/json

Sample:
{
  "ComId": "sample string 1",
  "TransId": 2,
  "Services": [
    {
      "index": 1,
      "ServiceId": 2,
      "Name": "sample string 3",
      "Quantity": 4,
      "Price": 5.1,
      "TechId": 6,
      "TechName": "sample string 7",
      "DiscountAble": true,
      "isProduct": true
    },
    {
      "index": 1,
      "ServiceId": 2,
      "Name": "sample string 3",
      "Quantity": 4,
      "Price": 5.1,
      "TechId": 6,
      "TechName": "sample string 7",
      "DiscountAble": true,
      "isProduct": true
    }
  ],
  "Techs": [
    {
      "TechName": "sample string 1",
      "pDiscountText": "sample string 2",
      "sDiscountText": "sample string 3",
      "TechId": 4,
      "pDiscount": 5.1,
      "sDiscount": 6.1
    },
    {
      "TechName": "sample string 1",
      "pDiscountText": "sample string 2",
      "sDiscountText": "sample string 3",
      "TechId": 4,
      "pDiscount": 5.1,
      "sDiscount": 6.1
    }
  ]
}

multipart/form-data

Sample:
{"ComId":"sample string 1","TransId":2,"Services":[{"index":1,"ServiceId":2,"Name":"sample string 3","Quantity":4,"Price":5.1,"TechId":6,"TechName":"sample string 7","DiscountAble":true,"isProduct":true},{"index":1,"ServiceId":2,"Name":"sample string 3","Quantity":4,"Price":5.1,"TechId":6,"TechName":"sample string 7","DiscountAble":true,"isProduct":true}],"Techs":[{"TechName":"sample string 1","pDiscountText":"sample string 2","sDiscountText":"sample string 3","TechId":4,"pDiscount":5.1,"sDiscount":6.1},{"TechName":"sample string 1","pDiscountText":"sample string 2","sDiscountText":"sample string 3","TechId":4,"pDiscount":5.1,"sDiscount":6.1}]}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, multipart/form-data

Sample:
{}