POST api/v1/orders/{orderId}/repairs/{areaId}

Endpoint that add a list of repair items to an existing estimate.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderId

Order Id

integer

Required

areaId

Id of target area where repair items will be added to. If set to zero, the 'entire house' area will be used.

integer

Required

Body Parameters

Repair Item Information

Collection of BasicRepairItemInformationVM
NameDescriptionTypeAdditional information
ItemXREF

integer

Required

Description

string

None.

VendorPPU

decimal number

None.

Quantity

decimal number

Required

Comments

string

None.

Code

string

None.

ItemUM

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "itemXREF": 1,
    "description": "sample string 2",
    "vendorPPU": 3.0,
    "quantity": 4.0,
    "comments": "sample string 5",
    "code": "sample string 6",
    "itemUM": "sample string 7"
  },
  {
    "itemXREF": 1,
    "description": "sample string 2",
    "vendorPPU": 3.0,
    "quantity": 4.0,
    "comments": "sample string 5",
    "code": "sample string 6",
    "itemUM": "sample string 7"
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

An entity with the values of the new repair.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.