DELETE api/PurchReqSpecServices/{id}

Удалить предложение

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

PurchReqSpecServId

integer

Required

Body Parameters

None.

Response Information

Resource Description

PurchReqSpecService
NameDescriptionTypeAdditional information
PurchReqSpecServId

ИД = SELECT NEXT VALUE FOR dbo.Gen_PurchReqSpecServId

integer

None.

PurchReqId

Внешний ключ, связан с таблицей PurchReqTables

integer

None.

ProviderId

Внешний ключ, связан с таблицей Companies

integer

None.

BegDate

Срок поставки - Начало

date

None.

EndDate

Срок поставки - Конец

date

None.

IsCompleteWork

True - Выполним работы в эти сроки, False - нет

boolean

None.

OwnBegDate

Указать свои сроки: Начало

date

None.

OwnEndDate

Указать свои сроки: Конец

date

None.

IsAcceptOwnTerms

True - Принято сроки поставщика, False - нет

boolean

None.

Cost

Стоимость всех работ

decimal number

None.

PrePay

Предоплата

decimal number

None.

PayPercent

Процент предоплаты

integer

None.

UserId

ID пользователя - Логин

string

Max length: 128

IsAccept

True - Заказчик выбрал данного Поставщика, False - нет

boolean

None.

CreateDateTime

Дата и время создания записи

date

None.

Response Formats

application/json, text/json

Sample:
{
  "PurchReqSpecServId": 1,
  "PurchReqId": 1,
  "ProviderId": 1,
  "BegDate": "2025-12-12T04:29:17.6603984+01:00",
  "EndDate": "2025-12-12T04:29:17.6603984+01:00",
  "IsCompleteWork": true,
  "OwnBegDate": "2025-12-12T04:29:17.6603984+01:00",
  "OwnEndDate": "2025-12-12T04:29:17.6603984+01:00",
  "IsAcceptOwnTerms": true,
  "Cost": 1.0,
  "PrePay": 1.0,
  "PayPercent": 1,
  "UserId": "sample string 2",
  "IsAccept": true,
  "CreateDateTime": "2025-12-12T04:29:17.6603984+01:00"
}

application/xml, text/xml

Sample:
<PurchReqSpecService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SadiApi.Models">
  <BegDate>2025-12-12T04:29:17.6603984+01:00</BegDate>
  <Cost>1</Cost>
  <CreateDateTime>2025-12-12T04:29:17.6603984+01:00</CreateDateTime>
  <EndDate>2025-12-12T04:29:17.6603984+01:00</EndDate>
  <IsAccept>true</IsAccept>
  <IsAcceptOwnTerms>true</IsAcceptOwnTerms>
  <IsCompleteWork>true</IsCompleteWork>
  <OwnBegDate>2025-12-12T04:29:17.6603984+01:00</OwnBegDate>
  <OwnEndDate>2025-12-12T04:29:17.6603984+01:00</OwnEndDate>
  <PayPercent>1</PayPercent>
  <PrePay>1</PrePay>
  <ProviderId>1</ProviderId>
  <PurchReqId>1</PurchReqId>
  <PurchReqSpecServId>1</PurchReqSpecServId>
  <UserId>sample string 2</UserId>
</PurchReqSpecService>