# Bill-loader E-Catalog X SCG Rudy
## Preparing Connection
### Bill-loader Environment
| Name | Endpoint | Description | Username | Password | authString |
| ---------- | -------------------------------------- | ----------- | ------------- | ---------------- | --- |
| Test | https://bill-loader-api-test.builk.com | | scg-rudy-test | 7<2yKhhFuT'Q?4sZ | Yuza2qf6398s8GD84pKkInDrOwHzlk6IclFTuhnpWQdU2z7OdKk6FlY2RlKhIiMqIrqLNEPn9Jbrf4xFJ7++2Az36JrXB3Cr9H1cZum1+j7iYheu4SPo25U+JTrqRYQbhLHp93pDLzDidYK+oHoCz32xFgyaiD1a1S4TN6wqDVbPmEiObKWMOphHm6+BixsmV06keEcEznStcXLhFGzCu+YzntE5xlvrHG4giWe31bwWC3fQ0iI5RoTTFp0j3sDtBN26M2sK2Pep0LwcXfhBpiP6sR81gMZCtaibzEzoe8MMBCK9EpJYGYlUA6Yp8wr0pXuTJgQPsKiDsFhdprxzCg== |
| Production | https://bill-loader-api.builk.com | | SCG-Rudy | fyFsesm9b7q5 |Cfo2vxoL1i9BoADPuYKKZcOYtUqAhtBHXqMrjZvnj9/E8UMxMeCqAGvG3KG7cOjtYElNK3QocYENj8t5v7PhCyyvVvkd9CCiQzdyW5MkUrggcKwlQ3el/w73B6S3J16/k4NBZzDoydz4aIMqk8PgXZimfb2eGEB9IHkfXMErm187MjS21YVw0C0j220Jrgv6yOxEdl2wT1/UTvqm2PinFYvPIyjIEYz1+NIUa+Aqw6f2rxjjVlrZJ9qc0cf0E3taLEq/AJQ914DVXY7ZHSJI5gBVgGUmzsUK08LVNJx1I1Y8ThZcn0Xj4b5iQxMnr9QIeWt993MI5rdhN5NGTH1i0A== |
### Rudy Environment
| Name | Endpoint | Description |
| --------- | ----------------------------------------- |-------------|
| Test | https://test-seller-center-api.merudy.com | Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcHBuYW1lIjoicmFrbW9hIiwidXNlcm5hbWUiOiJyYWttb2EiLCJwYXNzd29yZCI6InkkbFUjUll3WDdBIyIsImF1dGhfdHlwZSI6InJ1ZHlfcmFrbW9hIiwic2FsdCI6IiQyeSQxMiRyMTh1cEw2c29lcnA3NDJEdHoyZTl1Y2xHZXZKa0dzeDFIN3lMMjg5eGhxaWVtTXF6MUdNNiJ9.jh7KC9XUsN273B6BrtS8TuPa9nf6ycPTgBAjl5WfGWo |
| Production | https://seller-center-api.merudy.com | Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcHBuYW1lIjoicmFrbW9hIiwidXNlcm5hbWUiOiJyYWttb2EiLCJwYXNzd29yZCI6InkkbFUjUll3WDdBIyIsImF1dGhfdHlwZSI6InJ1ZHlfcmFrbW9hIiwic2FsdCI6IiQyeSQxMiRyMTh1cEw2c29lcnA3NDJEdHoyZTl1Y2xHZXZKa0dzeDFIN3lMMjg5eGhxaWVtTXF6MUdNNiJ9.jh7KC9XUsN273B6BrtS8TuPa9nf6ycPTgBAjl5WfGWo |
### Bill-loader Authentication
> ทุก Request ที่ติดต่อกับ PJM (API prefix domain ที่เป็น bill-loader-api-test ,bill-loader-api-uat , bill-loader-api ) จะต้องระบุข้อมูลสำหรับ authentication ดัง [Document](https://hackmd.io/@EjHanE4eQH2YrmQMC-z4LA/ByiffZWF_) (ใช้ชุด username password ในตารางด้านบน หรือ authString [""] นี้ Expire time 3600 second = 60 minute = 1 hour)
### Commom response model
> เป็น model ที่นำไปใช้ในการตอบกลับของทุกๆ API และจะละเว้นการอธิบาย model นี้ในทุกๆ API ต่อไป
| Parameter | Description | Schema |
| --------- | -------------------------------------- |-------------|
| Data | ค่าที่ตอบกลับจากการทำงานของAPI นั้นๆ (ไม่มีการตอบกลับอนุญาติให้เป็น null) | Object |
| Status | สถานะการทำงานของ API นั้นๆ โดยหมวด 2xx คือทำงานปกติ 4xx คือข้อมูลบ้างอย่างไม่ถูกต้อง และ 5xx เป็นการทำงานผิดปกติของทาง API โดยถ้าได้รับ status หมวด 5xx สามารถแจ้งทีมงานเพื่อตรวจสอบได้ | Integer |
| Messge | คำอธิบายขยายความของ Status เบื้องต้น โดยหมวด 2xx จะเป็น success 4xx ส่วนใหญ่จะเป็นข้อบงชี้ของข้อมูลที่ไม่ถูกต้อง และ 5xx จะเป็น error ของตัวระบบ | String |
### Conversation Agreement
#### DataType
| Type | Description |
| --------- | ----------- |
| DateTime | จะส่งค่าเป็น string ที่เป็น ISO format ที่ timezone utc 0 (example : "2021-05-19T06:11:16.3929186Z") |
### Expect value
#### PaymentMethodEnum
| Key | Value |
| ------ | ----- |
| Cash | 1 |
| Credit | 2 |
| Other | 3 |
#### RFQStatusEnum
| Key | Value |
| ---------- | ----- |
| Draft | 0 |
| Due | 1 |
| Inprogress | 2 |
| Waiting | 3 |
| Send | 4 |
| Save | 5 |
| New | 6 |
| Award | 7 |
| Referenced | 8 |
| Cancel | 9 |
#### QuotationStatusEnum
| Key | Value |
| ------------ | ----- |
| ~~Interested~~ | ~~1~~ |
| ~~Responded~~ | ~~2~~ |
| ~~Revise~~ | ~~3~~ |
| ~~Win~~ | ~~4~~ |
| ~~Uninterested~~ | ~~-1~~ |
| ~~Reject~~ | ~~-2~~ |
| ~~Lose~~ | ~~-3~~ |
| Key | Value | OldValue |
| --------------- | ----- | -------- |
| RfqDue | 1 | |
| ReviseRequested | 3 | 3 |
| Sent | 4 | |
| Draft | 5 | 2 |
| New | 6 | 1 |
| RfqCancel | 9 | |
| Win | 14 | 4 |
| Lose | 15 | -3 |
| PoInprogress | 16 | |
| QuotaionDue | 18 | |
| NotInterested | 19 | -1 |
| QuotaionCancel | 20 | -2 |
#### TaxTypeEnum
| Key | Value |
| ---------- | ----- |
| ExcludeVat | 1 |
| IncludeVat | 2 |
| NoVat | 3 |
## Bill-loader To Rudy
> รายละเอียดของ API ดังต่อไปนี้จะเป็นข้อมูลที่ทาง PJM จะจัดส่งให้ ซึ่งทาง Rudy สามารถร้องของข้อมูลเพิ่มเติมนอกนอกเนื่องจากตัวเอกสารนี้ได้ โดยทางเราจะปรับปรุง อัพเดท และจะแจ้งให้ทราบเมื่อดำเนินการเสร็จสิ้น
### `POST /public/new/sellerCenter/SendRFQToPlatForm/api`
> API นี้จะทำการส่งรายละเอียดของเอกสาร RFQ ที่เป็นสถานะสาธารณะ
**Body Request**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| RFQRefId (*required*) | Id RFQ ของทาง PJM | GuId |
| OrganizationName (*required*) | ชื่อองค์กรที่ร้องขอ | String |
| ProjectName (*required*) | ชื่อโครงการที่ร้องขอ | String |
| [PaymentMethod](#PaymentMethodEnum) (*required*) | รูปแบบการชำระเงิน | Integer |
| PaymentCreditDay | จะระบุ ถ้าเป็นรูปแบบการชำระเงิน credit term | Integer |
| DeliveryDetail (*required*) | ที่อยู่ในการจัดส่ง | Object |
| DueDate (*required*) | วันสิ้นสุดการส่งประกวดราคา | DateTime |
| Remark (*required*) | หมายเหตุของเอกสาร | String |
| [RFQStatus](#RFQStatusEnum) (*required*) | สถานะปัจจุบันของเอกสาร | Integer |
| PurchaseOrderItem (*required*) | รายการสินค้าที่ต้องการจัดซื้อ | Array of Object |
**DeliveryDetail Object**
| Parameter | Description | Schema |
| ---------------------- | -------------------- | ------ |
| Address (*required*) | | String |
| SubDistric (*required*)| | String |
| Distric (*required*) | | String |
| Province (*required*) | | String |
| PostCode (*required*) | | String |
**PurchaseOrderItem Object**
| Parameter | Description | Schema |
| ---------------------- | -------------------- | ------ |
| CategoriesName (*required*) | | String |
| CategoriesCode (*required*)| | String |
| CategoriesRefId (*required*) | | String |
| ItemName (*required*) | | String |
| ItemCode (*required*) | | String |
| ItemRefId (*required*) | | String |
| Quantity (*required*) | | Number |
| Unit (*required*) | | String |
**Body Response**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| Data | สถานะของการรับข้อมูล | boolean |
#### Example Request
```json
{
"RFQRefId": "491482c2-6d89-4511-9cd3-aed095853663",
"OrganizationName": "Test OrganizationName",
"ProjectName": "Test ProjectName",
"PaymentMethod": 1,
"PaymentCreditDay": 0,
"DeliveryDetail": {
"Address":"No. 1624/2 New Phetburi Road",
"SubDistric":"Makkasan ",
"Distric":"Ratchathewi",
"Province":"Bangkok",
"PostCode":"10400"
},
"DueDate": "2021-05-19T06:11:16.3929186Z",
"Remark": "Test remark",
"RFQStatus": 1,
"PurchaseOrderItem" : [
{
"CategoriesName":"Material",
"CategoriesCode":"CT-001",
"CategoriesRefId":"4d4ac0eb-62b8-42b7-b3cd-6691cad9eed4",
"ItemName":"Oriharukon",
"ItemCode":"IT-001",
"ItemRefId":"c6f5d09c-7e2c-46aa-a80a-ff8c706069ad",
"Quantity":10,
"Unit":"doz"
},
{
"CategoriesName":"Material",
"CategoriesCode":"CT-001",
"CategoriesRefId":"4d4ac0eb-62b8-42b7-b3cd-6691cad9eed4",
"ItemName":"Mithril",
"ItemCode":"IT-002",
"ItemRefId":"c6f5d09c-7e2c-46aa-a80a-ff8c706069ad",
"Quantity":10,
"Unit":"doz"
}
]
}
```
#### Example Response
```json
{
"Status": 200,
"Message": "success",
"Data": true
}
```
### `POST /public/new/sellerCenter/SendReviseItem/api`
> API นี้จะทำการส่งรายการของสินค้าที่ผู้ซื้อต้องการต่อรองราคา
**Body Request**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| RFQRefId (*required*) | Id RFQ ของ PJM | GuId |
| QuotationId (*required*) | Id Quotation ของ Rudy | String |
| Note | | String |
| PurchaseOrderItem (*required*) | รายการรหัสสินค้าที่ต้องการต่อรอง | Array of Object |
**PurchaseOrderItem Object**
| Parameter | Description | Schema |
| ---------------------- | -------------------- | ------ |
| ItemRefId (*required*) | | String |
**Body Response**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| Data | สถานะของการรับข้อมูล | boolean |
#### Example Request
```json
{
"RFQRefId": "491482c2-6d89-4511-9cd3-aed095853663",
"QuotationId": ".... ",
"Note": "Test note",
"PurchaseOrderItem" : [
{
"ItemRefId":"c6f5d09c-7e2c-46aa-a80a-ff8c706069ad"
},
{
"ItemRefId":"c6f5d09c-7e2c-46aa-a80a-ff8c706069ad"
}
]
}
```
#### Example Response
```json
{
"Status": 200,
"Message": "success",
"Data": true
}
```
### `POST /public/new/sellerCenter/CancelRFQ/api`
> API นี้จะทำการส่งสถานยกเลิกเอกสาร RFQ
**Body Request**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| RFQRefId (*required*) | Id RFQ ของทาง PJM | GuId |
| CancelReasons | | String |
| CancelDateTime (*required*) | เวลาที่ต้องการยกเลิก | DateTime |
**Body Response**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| Data | สถานะของการรับข้อมูล | boolean |
#### Example Request
```json
{
"RFQRefId": "491482c2-6d89-4511-9cd3-aed095853663",
"CancelReasons": "Test note",
"CancelDateTime" : "2021-05-19T06:11:16.3929186Z"
}
```
#### Example Response
```json
{
"Status": 200,
"Message": "success",
"Data": true
}
```
### `POST /public/new/sellerCenter/UpdateQuotationStatus/api`
> API นี้จะทำการอัพเดทสถานะของใบเสนอราคาของ Vendor
**Body Request**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| RFQRefId (*required*) | Id RFQ ของทาง PJM | GuId |
| UpdateDate (*required*) | | DateTime |
| Quotations (*required*) | ใบเสนอราคา | Array of Object |
**Quotations Object**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| QuotationId (*required*) | Id Quotation ของ PJM | String |
| [Status](#QuotationStatusEnum) (*required*) | สถานะของใบเสนอราคาที่เปลี่ยนแปลงไป | Integer |
| Reasons | เหตุผลที่ win/lose | String |
**Body Response**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| Data | สถานะของการรับข้อมูล | boolean |
#### Example Request
```json
{
"RFQRefId": "491482c2-6d89-4511-9cd3-aed095853663",
"UpdateDate": "2021-05-19T06:11:16.3929186Z",
"Quotations" : [
{
"QuotationId":"0fba0f3f-cb12-4de3-b8ff-e3cf2b5890ef",
"Status": 1,
"Reasons":"Win because"
},
{
"QuotationId":"0fba0f3f-cb12-4de3-b8ff-e3cf2b5890ef",
"Status": 2,
"Reasons":"Lost because"
}
]
}
```
#### Example Response
```json
{
"Status": 200,
"Message": "success",
"Data": true
}
```
### `POST /public/new/sellerCenter/UpdateRFQStatus/api`
> API นี้จะทำการอัพเดทสถานะของใบ RFQ
**Body Request**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| RFQRefId (*required*) | Id RFQ ของทาง PJM | GuId |
| UpdateDate (*required*) | | DateTime |
| [Status](#RFQStatusEnum) (*required*) | สถานะของ RFQ ที่เปลี่ยนแปลงไป | Integer |
**Body Response**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| Data | สถานะของการรับข้อมูล | boolean |
#### Example Request
```json
{
"RFQRefId": "491482c2-6d89-4511-9cd3-aed095853663",
"UpdateDate": "2021-05-19T06:11:16.3929186Z",
"Status" : 6
}
```
#### Example Response
```json
{
"Status": 200,
"Message": "success",
"Data": true
}
```
### `POST /public/new/sellerCenter/SendPurchaseOrderDocumentForm/api`
> API นี้จะทำการอัพเดทสถานะของใบ RFQ
**Body Request**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| RfqRefId (*required*) | Id Rfq ของทาง PJM | GuId |
| QuotationId (*required*) | Id QO ของทาง Rudy | String |
| PurchaseOrderDocument (*required*) | url สำเนาเอกสารอีเล็กทรอนิคของ PurchaseOrder | String |
**Body Response**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| Data | สถานะของการรับข้อมูล | boolean |
#### Example Request
```json
{
"RfqRefId": "72509f30-9ce1-44ac-b3ce-64d47ec1f680",
"QuotationId": "990",
"PurchaseOrderDocument" : "https://bill-loader.s3-ap-southeast-1.amazonaws.com/path/to/file"
}
```
#### Example Response
```json
{
"Status": 200,
"Message": "success",
"Data": true
}
```
## Rudy To Bill-loader
### `POST /api/v1/ECatalog/RudyMatching/SendVendorDetail`
> API นี้จะรับรายละเอียดของ Vendor ที่ถูกจับคู่และ ยอมรับเงื่อนไขของการประกวดราคา
**Body Request**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| VendorName (*required*) | ชื่อของ vendor | String |
| VendorId (*required*) | Id vendor ของทาง Rudy | String |
| ContactName (*required*) | ชื่อของผู้ติดต่อ | String |
| ContactPhone (*required*) | เบอร์ของผู้ติดต่อ | String |
| ContactEmail (*required*) | อีเมลของผู้ติดต่อ | String |
| Address (*required*) | ที่อยู่ของ vendor | String |
| RFQRefId (*required*) | Id RFQ ของทาง PJM | Guid |
| TaxId (*required*) | | String |
**Body Response**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| VendorRefId | Id vendor ของทาง PJM | Guid |
#### Example Request
```json
{
"VendorName": "Vendor007",
"VendorId": "491482c2-6d89-4511-9cd3-aed095853663",
"ContactName" : "Madeee",
"ContactPhone": "0811111180",
"ContactEmail": "madeee@vendor007.org",
"Address":"เลขที่ 47 ม.4 เขตคันนายาว แขวงคันนายาว กรุงเทพมหานคร 10230 "
"RFQRefId" : "491482c2-6d89-4511-9cd3-aed095853663"
"TaxId" : "3422121212121"
}
```
#### Example Response
```json
{
"Status": 200,
"Message": "success",
"Data": {
"VendorRefId":"491482c2-6d89-4511-9cd3-aed095853663"
}
}
```
### `POST /api/v1/ECatalog/RudyMatching/UploadQuotationDetail`
> API นี้จะรับรายละเอียดของ Quotation ที่ vendor ประกวดราคามา
**Body Request**
| Parameter | Description | Schema |
| ---------------------------------------------------- | ----------------------------------------------------------------- | -------- |
| RFQRefId (*required*) | Id RFQ ของทาง PJM | Guid |
| VendorRefId (*required*) | Id vendor ของทาง PJM | String |
| Remark (*required*) | หมายเหตุเพิ่มเติม | String |
| TotalOfferItem (*required*) | จำนวนสินค้าที่ต้องการประกวดราคา | Number |
| [TaxType](#TaxTypeEnum) (*required*) | ชนิดการคำนวณภาษี | Integer |
| TaxRate (*required*) | อัตราการคำนวณภาษี | Number |
| TaxValue (*required*) | อัตราภาษี | Number |
| BeforeTax (*required*) | ราคาก่อนคำนวณภาษี | Number |
| SubTotal (*required*) | ราคารวมของสินค้า | Number |
| ShippingPrice (*required*) | ราคาค่าขนส่ง | Number |
| GrandTotal (*required*) | ราคารวมสุทธิ | Number |
| Discount (*required*) | ส่วนลด | Number |
| QuotationItem (*required*) | รายการสินค้าที่ประกวดราคา | Object |
| DueDate (*required*) | วันที่สิ้นสุดของราคาที่เสนอ | DateTime |
| GrandTotalWithShipping (*required*) | ราคาสุทธิรวมค่าขนส่ง | Number |
| QuotationId (*required*) | Id Quotation ของทาง Rudy | String |
| [PaymentMethodType](#PaymentMethodEnum) (*required*) | รูปแบบการรับชำระ | Number |
| PaymentMethodDetail | รายละเอียดการชำระเงิน (ระบุวันขอ Credit หรือ free text ของ Other) | String |
| QuotationRemark | หมายเหตุของใบเสนอราคา | String |
| ShippingRemark | หมายเหตุของการขนส่ง | String |
| Shipping (*required*) | ราคาค่าขนส่ง | Number |
**QuotationItem Object**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| ItemRefId (*required*) | | String |
| Quantity (*required*) | | Number |
| Price (*required*) | | Number |
| Note | | String |
**Body Response**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| QuotationRefId | Id quotation ของทาง PJM | Guid |
#### Example Request
```json
{
"RFQRefId": "491482c2-6d89-4511-9cd3-aed095853663",
"VendorId": "491482c2-6d89-4511-9cd3-aed095853663",
"Remark" : "Test ",
"TotalOfferItem": 12,
"TaxType": 0,
"TaxRate" : 0,
"TaxValue" : 0,
"BeforeTax": 2500,
"SubTotal": 2500,
"ShippingPrice": 50,
"Discount": 0,
"GrandTotal": 2550,
"DueDate": 2550,
"GrandTotalWithShipping": 3450,
"QuotationId": "rudyQuotationId",
"PaymentMethodType": 2,
"QuotationRemark": "7 Day",
"QuotationRemark": "quotation remarkkkkkkkkkkkkkkkkkkkkkkkk",
"ShippingRemark": "shipping remarkkkk",
"Shipping": 900,
"QuotationItem": [
{
"ItemRefId":"491482c2-6d89-4511-9cd3-aed095853663",
"Quantity":99,
"Price": 2000,
"Note":""
},
{
"ItemRefId":"491482c2-6d89-4511-9cd3-aed095853663",
"Quantity":1,
"Price": 500,
"Note":""
}
]
}
```
#### Example Response
```json
{
"Status": 200,
"Message": "success",
"Data": {
"QuotationRefId":"491482c2-6d89-4511-9cd3-aed095853663"
}
}
```
### `POST /api/v1/ECatalog/RudyMatching/UpdateQuotationItem`
> API นี้จะรับการตอบกับการร้องข้อ Revise item สำหรับอัพเดทราคาที่ทาง vendor ได้ทำการแก้ไข
**Body Request**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| QuotationRefId (*required*) | Id Quotation ของทาง PJM | Guid |
| UpdateDateTime (*required*) | เวลาที่ทำการอัพเดท | DateTime |
| SubTotal (*required*) | | number |
| BeforeTax (*required*) | | number |
| GrandTotal (*required*) | | number |
| Vat (*required*) | | number |
| TaxRatePercentage (*required*) | | number |
| Discount (*required*) | | number |
| GrandTotalWithShipping (*required*) | | number |
| QuotationItem (*required*) | รายการสินค้าที่อัพเดทราคา | Object |
**QuotationItem Object**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| ItemRefId (*required*) | | String |
| Price (*required*) | | Number |
| Note | | String |
**Body Response**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| Data | สถานะของการรับข้อมูล | boolean |
#### Example Request
```json
{
"QuotationRefId": "491482c2-6d89-4511-9cd3-aed095853663",
"UpdateDateTime": "2021-05-19T06:11:16.3929186Z",
"SubTotal": 8888,
"BeforeTax": 8888,
"GrandTotal": 8888,
"Vat": 112,
"TaxRatePercentage": 4,
"Discount": 44,
"GrandTotalWithShipping": 9999,
"QuotationItem": [
{
"ItemRefId":"491482c2-6d89-4511-9cd3-aed095853663",
"Price": 1980,
"Note":""
},
{
"ItemRefId":"491482c2-6d89-4511-9cd3-aed095853663",
"Price": 450,
"Note":""
}
]
}
```
#### Example Response
```json
{
"Status": 200,
"Message": "success",
"Data": true
}
```
### `POST /api/v1/ECatalog/RudyMatching/SendQuotationReject`
> API นี้จะรับการตอบกับการยุติกการมีส่วนร่วมในการเสนอราคา
**Body Request**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| QuotationRefId (*required*) | Id Quotation ของทาง PJM | Guid |
| RejectReasons (*required*) | เวลาที่ทำการอัพเดท | String |
| RejectDateTime (*required*) | รายการสินค้าที่อัพเดทราคา | DateTime |
**Body Response**
| Parameter | Description | Schema |
| ------------------------------- | ----------------------------------- | ------ |
| Data | สถานะของการรับข้อมูล | boolean |
#### Example Request
```json
{
"QuotationRefId": "491482c2-6d89-4511-9cd3-aed095853663",
"RejectDateTime": "2021-05-19T06:11:16.3929186Z",
"RejectReasons": ""
}
```
#### Example Response
```json
{
"Status": 200,
"Message": "success",
"Data": true
}
```