POST api/ProductWiseDocument/AddProductWiseDocument

Request Information

URI Parameters

None.

Body Parameters

ProductWiseDocumentModel
NameDescriptionTypeAdditional information
ProductDocumnetId

integer

None.

DocumentId

integer

None.

ProductName

string

None.

DocumentName

string

None.

ProductId

integer

None.

Selected

boolean

None.

EntryDate

date

None.

DocumentIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductDocumnetId": 1,
  "DocumentId": 1,
  "ProductName": "sample string 2",
  "DocumentName": "sample string 3",
  "ProductId": 1,
  "Selected": true,
  "EntryDate": "2025-12-12T08:47:16.1301938+05:30",
  "DocumentIds": [
    1,
    2
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AddUpdateDeleteResponse
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "Data": {
    "$id": "2"
  }
}