POST api/PurchaseDemand/EnquiryToDraft

Request Information

URI Parameters

None.

Body Parameters

EnquiryDTO
NameDescriptionTypeAdditional information
ExpireDate

date

Required

ExceptReceivingDate

date

None.

NeedIncludeTax

boolean

None.

NeedIncludeFreight

boolean

None.

WholeQuoted

boolean

None.

PurchaseDemandId

string

None.

PurchaseTitle

string

Required

Max length: 256

Tags

string

Required

Description

string

None.

CustomerUserId

string

None.

CustomerUserName

string

None.

CustomerDisplayName

string

None.

CustomerContactPhone

string

Required

CustomerContactName

string

None.

InquiryMode

InquiryMode

None.

SupplierTypeId

integer

None.

SupplierType

SupplierTypeDTO

None.

DeliveryProvinceId

integer

None.

DeliveryProvinceName

string

None.

PurchaseDemandOffering

Collection of PurchaseDemandOfferingDTO

None.

DeliveryCityId

integer

None.

DeliveryCityName

string

None.

InvoiceType

InvoiceType

None.

LimitProviderProvinceId

string

None.

LimitProviderProvinceName

string

None.

PublicContact

boolean

None.

Prices

Collection of PurchaseDemandPriceDTO

None.

Type

PurchaseDemandType

None.

BusinessModel

string

None.

CertificateId

string

None.

CertificateName

string

None.

RegisteredCapital

decimal number

None.

CreatedDateStr

string

None.

IncludeCategoryId

string

None.

ContactQQ

string

None.

PlaceOrderNumber

integer

None.

CloseReason

PdCloseReason

None.

CloseReasonExplanation

string

None.

PurchaseStatus

PurchaseStatus

None.

AnnouncementDate

date

None.

InquiryModeDes

string

None.

PurchaseApply

Collection of PurchaseApplyDTO

None.

Attachment

string

None.

PublishDate

date

None.

PlatformMemberId

string

None.

IsDeleted

boolean

None.

CreatedBy

string

None.

CreatedDate

date

None.

ModifiedBy

string

None.

ModifiedDate

date

None.

TopDomainName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ExpireDate": "2021-10-20T07:07:30.1546804+00:00",
  "ExceptReceivingDate": "2021-10-20T07:07:30.1546804+00:00",
  "NeedIncludeTax": true,
  "NeedIncludeFreight": true,
  "WholeQuoted": true,
  "PurchaseDemandId": "sample string 5",
  "PurchaseTitle": "sample string 6",
  "Tags": "sample string 7",
  "Description": "sample string 8",
  "CustomerUserId": "sample string 9",
  "CustomerUserName": "sample string 10",
  "CustomerDisplayName": "sample string 11",
  "CustomerContactPhone": "sample string 12",
  "CustomerContactName": "sample string 13",
  "InquiryMode": 0,
  "SupplierTypeId": 1,
  "SupplierType": {
    "$id": "2",
    "Id": 1,
    "Name": "sample string 2",
    "IsDeleted": true,
    "CreatedBy": "sample string 4",
    "CreatedDate": "2021-10-20T07:07:30.1546804+00:00",
    "ModifiedBy": "sample string 6",
    "ModifiedDate": "2021-10-20T07:07:30.1546804+00:00",
    "TopDomainName": "sample string 8"
  },
  "DeliveryProvinceId": 14,
  "DeliveryProvinceName": "sample string 15",
  "PurchaseDemandOffering": [
    {
      "$id": "3",
      "Id": 1,
      "PurchaseDemandId": "sample string 2",
      "OfferingName": "sample string 3",
      "PurchaseNumber": 4.0,
      "PurchaseType": 0,
      "PurchaseUnit": "sample string 5",
      "Instruction": "sample string 6",
      "Attachment": "sample string 7",
      "PurchaseDemand": {
        "$id": "4",
        "ExpireDate": "2021-10-20T07:07:30.1546804+00:00",
        "Round": 1,
        "ExceptReceivingDate": "2021-10-20T07:07:30.1546804+00:00",
        "NeedIncludeTax": true,
        "NeedIncludeFreight": true,
        "ApplyExpireDate": "2021-10-20T07:07:30.1546804+00:00",
        "ConfidentialityAgreement": true,
        "BidBond": 1.0,
        "AuctionTime": 6,
        "AuctionStartTime": "2021-10-20T07:07:30.1546804+00:00",
        "PriceCeilings": 1,
        "ReducedType": 0,
        "ReducedMoneyNumber": 8.0,
        "ReducedPercentageNumber": 9.0,
        "OvertSupplierInProgress": true,
        "OvertPriceInProgress": true,
        "OvertSupplierInComplete": true,
        "OvertPriceInComplete": true,
        "BiddingMode": 0,
        "WinerTenantName": "sample string 14",
        "WinerTenantDisplayName": "sample string 15",
        "WinerPrice": 16.0,
        "ContractId": "f4ba90fa-9f1a-4e16-9fa8-6bfae838ffa3",
        "WholeQuoted": true,
        "PurchaseDemandId": "sample string 21",
        "PurchaseTitle": "sample string 22",
        "Tags": "sample string 23",
        "Description": "sample string 24",
        "CustomerUserId": "sample string 25",
        "CustomerUserName": "sample string 26",
        "CustomerDisplayName": "sample string 27",
        "CustomerContactPhone": "sample string 28",
        "CustomerContactName": "sample string 29",
        "InquiryMode": 0,
        "SupplierTypeId": 1,
        "SupplierType": {
          "$ref": "2"
        },
        "DeliveryProvinceId": 30,
        "DeliveryProvinceName": "sample string 31",
        "PurchaseDemandOffering": [
          {
            "$ref": "3"
          },
          {
            "$ref": "3"
          }
        ],
        "DeliveryCityId": 32,
        "DeliveryCityName": "sample string 33",
        "InvoiceType": 0,
        "LimitProviderProvinceId": "sample string 34",
        "LimitProviderProvinceName": "sample string 35",
        "PublicContact": true,
        "Prices": [
          {
            "$id": "5",
            "Id": 1,
            "Round": 2,
            "OfferingId": 3,
            "Price": 4.0,
            "Number": 5.0,
            "Message": "sample string 6",
            "Offering": {
              "$ref": "3"
            },
            "ProviderUserId": "sample string 7",
            "ProviderDisplayName": "sample string 8",
            "ProviderContactName": "sample string 9",
            "ProviderContactPhone": "sample string 10",
            "PurchaseDemandId": "sample string 11",
            "PurchaseDemand": {
              "$ref": "4"
            },
            "IsCludePostage": true,
            "PostagePrice": 1.0,
            "PreparationCycle": 1,
            "Attachment": "sample string 13",
            "TaxRate": 14,
            "Code": "sample string 15",
            "CreatedDateStr": "2021-10-20 15:07:30",
            "QuotedPriceUserId": "sample string 16",
            "CanComplete": true,
            "NullifyExplanation": "sample string 18",
            "PriceNullifyReason": 0,
            "PriceState": 0,
            "DeliveryDate": 19,
            "ValidityDate": "2021-10-20T07:07:30.1546804+00:00",
            "CanOffer": true,
            "SaleOfferingCode": "sample string 21",
            "SaleOfferingName": "sample string 22",
            "OpenPriceToLibrary": true,
            "IsDeleted": true,
            "CreatedBy": "sample string 27",
            "CreatedDate": "2021-10-20T07:07:30.1546804+00:00",
            "ModifiedBy": "sample string 29",
            "ModifiedDate": "2021-10-20T07:07:30.1546804+00:00",
            "TopDomainName": "sample string 31"
          },
          {
            "$ref": "5"
          }
        ],
        "Type": 0,
        "BusinessModel": "sample string 37",
        "CertificateId": "sample string 38",
        "CertificateName": "sample string 39",
        "RegisteredCapital": 1.0,
        "CreatedDateStr": "2021-10-20 15:07",
        "IncludeCategoryId": "sample string 40",
        "ContactQQ": "sample string 41",
        "PlaceOrderNumber": 42,
        "CloseReason": 0,
        "CloseReasonExplanation": "sample string 43",
        "PurchaseStatus": 0,
        "AnnouncementDate": "2021-10-20T07:07:30.1546804+00:00",
        "InquiryModeDes": "公开",
        "PurchaseApply": [
          {
            "$id": "6",
            "Id": 1,
            "TenantName": "sample string 2",
            "TenantDisplayName": "sample string 3",
            "Status": 0,
            "ContactName": "sample string 4",
            "ContactPhone": "sample string 5",
            "Attachment": "sample string 6",
            "Description": "sample string 7",
            "PurchaseDemandId": "sample string 8",
            "StatusStr": "已同意保密协议",
            "Reason": "sample string 9",
            "Email": "sample string 10",
            "ApplyNullifyReason": 0,
            "NullifyExplanation": "sample string 11",
            "CanContinueApply": true,
            "Round": 13,
            "IsDeleted": true,
            "CreatedBy": "sample string 15",
            "CreatedDate": "2021-10-20T07:07:30.1546804+00:00",
            "ModifiedBy": "sample string 17",
            "ModifiedDate": "2021-10-20T07:07:30.1546804+00:00",
            "TopDomainName": "sample string 19"
          },
          {
            "$ref": "6"
          }
        ],
        "Attachment": "sample string 47",
        "PublishDate": "2021-10-20T07:07:30.1546804+00:00",
        "PlatformMemberId": "sample string 49",
        "IsDeleted": true,
        "CreatedBy": "sample string 51",
        "CreatedDate": "2021-10-20T07:07:30.1546804+00:00",
        "ModifiedBy": "sample string 53",
        "ModifiedDate": "2021-10-20T07:07:30.1546804+00:00",
        "TopDomainName": "sample string 55"
      },
      "OfferingCategorieName": "sample string 8",
      "OfferingCategorieId": 9,
      "Specification": "sample string 10",
      "PurchaseDemandPrice": [
        {
          "$ref": "5"
        },
        {
          "$ref": "5"
        }
      ],
      "Brand": "sample string 11",
      "AnnualMoney": 1.0,
      "MaterialId": 1,
      "Material": {
        "$id": "7",
        "MaterialId": 1,
        "MaterialCode": "sample string 2",
        "MaterialName": "sample string 3",
        "MaterialBrand": "sample string 4",
        "Specification": "sample string 5",
        "MaterialImage": [
          "sample string 1",
          "sample string 2"
        ],
        "MaterialUnit": "sample string 6",
        "IndustryId": 7,
        "IndustryName": "sample string 8",
        "MaterialDescribe": "sample string 9",
        "MaterialAttachment": "sample string 10",
        "ReferencePrice": 11.0,
        "AnnualPurchaseAmount": 12.0,
        "IsDeleted": true,
        "CreatedBy": "sample string 14",
        "CreatedDate": "2021-10-20T07:07:30.1546804+00:00",
        "ModifiedBy": "sample string 16",
        "ModifiedDate": "2021-10-20T07:07:30.1546804+00:00",
        "TopDomainName": "sample string 18"
      },
      "IsDeleted": true,
      "CreatedBy": "sample string 13",
      "CreatedDate": "2021-10-20T07:07:30.1546804+00:00",
      "ModifiedBy": "sample string 15",
      "ModifiedDate": "2021-10-20T07:07:30.1546804+00:00",
      "TopDomainName": "sample string 17"
    },
    {
      "$ref": "3"
    }
  ],
  "DeliveryCityId": 16,
  "DeliveryCityName": "sample string 17",
  "InvoiceType": 0,
  "LimitProviderProvinceId": "sample string 18",
  "LimitProviderProvinceName": "sample string 19",
  "PublicContact": true,
  "Prices": [
    {
      "$ref": "5"
    },
    {
      "$ref": "5"
    }
  ],
  "Type": 0,
  "BusinessModel": "sample string 21",
  "CertificateId": "sample string 22",
  "CertificateName": "sample string 23",
  "RegisteredCapital": 1.0,
  "CreatedDateStr": "2021-10-20 15:07",
  "IncludeCategoryId": "sample string 24",
  "ContactQQ": "sample string 25",
  "PlaceOrderNumber": 26,
  "CloseReason": 0,
  "CloseReasonExplanation": "sample string 27",
  "PurchaseStatus": 0,
  "AnnouncementDate": "2021-10-20T07:07:30.1546804+00:00",
  "InquiryModeDes": "公开",
  "PurchaseApply": [
    {
      "$ref": "6"
    },
    {
      "$ref": "6"
    }
  ],
  "Attachment": "sample string 31",
  "PublishDate": "2021-10-20T07:07:30.1546804+00:00",
  "PlatformMemberId": "sample string 33",
  "IsDeleted": true,
  "CreatedBy": "sample string 35",
  "CreatedDate": "2021-10-20T07:07:30.1546804+00:00",
  "ModifiedBy": "sample string 37",
  "ModifiedDate": "2021-10-20T07:07:30.1546804+00:00",
  "TopDomainName": "sample string 39"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResultOfTupleOfStringAndListOfInt32AndString

None.

Response Formats

application/json, text/json

Sample:
{
  "HttpStatusCode": 100,
  "Success": true,
  "ResultType": 0,
  "message": "sample string 2",
  "LogMessage": "sample string 3",
  "Result": {
    "$id": "2",
    "m_Item1": "sample string 1",
    "m_Item2": [
      1,
      2
    ],
    "m_Item3": "sample string 2"
  },
  "success": true
}