POST api/OrderAttachmnt/InsertAttachment

Request Information

URI Parameters

None.

Body Parameters

Collection of Cls_OrderAttachments
NameDescriptionTypeAdditional information
AttachmentID

integer

None.

OrderID

integer

None.

ImagePath

string

None.

FileName

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "AttachmentID": 1,
    "OrderID": 2,
    "ImagePath": "sample string 3",
    "FileName": "sample string 4"
  },
  {
    "AttachmentID": 1,
    "OrderID": 2,
    "ImagePath": "sample string 3",
    "FileName": "sample string 4"
  }
]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"