PUT api/YksSupplierPeriod/Save

Request Information

URI Parameters

None.

Body Parameters

YksSupplierPeriodBM
NameDescriptionTypeAdditional information
ID

decimal number

None.

supplierCode

decimal number

None.

supplierDefinition

string

None.

startDate

date

None.

finishDate

date

None.

supplierPeriodDetailList

Collection of YksSupplierPeriodDetailBM

None.

error

boolean

None.

info

string

None.

customDelete

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1.0,
  "supplierCode": 1.0,
  "supplierDefinition": "sample string 2",
  "startDate": "2024-11-16T04:49:12.9333285+03:00",
  "finishDate": "2024-11-16T04:49:12.9333285+03:00",
  "supplierPeriodDetailList": [
    {
      "id": 1.0,
      "supplierPeriodId": 1.0,
      "itemImageNo": "sample string 2",
      "itemImageDefinition": "sample string 3",
      "error": true,
      "info": "sample string 5",
      "customDelete": true
    },
    {
      "id": 1.0,
      "supplierPeriodId": 1.0,
      "itemImageNo": "sample string 2",
      "itemImageDefinition": "sample string 3",
      "error": true,
      "info": "sample string 5",
      "customDelete": true
    }
  ],
  "error": true,
  "info": "sample string 4",
  "customDelete": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseDTO
NameDescriptionTypeAdditional information
error

boolean

None.

info

string

None.

customDelete

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "error": true,
  "info": "sample string 2",
  "customDelete": true
}