|
195 | 195 | ],
|
196 | 196 | "default": "Company"
|
197 | 197 | },
|
| 198 | + { |
| 199 | + "name": "signing_order", |
| 200 | + "in": "header", |
| 201 | + "type": "number", |
| 202 | + "description": "Sign order of participant", |
| 203 | + "x-ms-visibility": "advanced", |
| 204 | + "x-ms-summary": "Signing order" |
| 205 | + }, |
198 | 206 | {
|
199 | 207 | "name": "party",
|
200 | 208 | "in": "body",
|
|
524 | 532 | }
|
525 | 533 | }
|
526 | 534 | },
|
527 |
| - "/contracts/{contract_id}/": { |
| 535 | + "/contracts/{contract_id}/": { |
| 536 | + "get": { |
| 537 | + "summary": "Get contract details", |
| 538 | + "description": "Retrieve the details of a contract by its ID.", |
| 539 | + "operationId": "GetContract", |
| 540 | + "parameters": [ |
| 541 | + { |
| 542 | + "name": "contract_id", |
| 543 | + "in": "path", |
| 544 | + "type": "string", |
| 545 | + "required": true, |
| 546 | + "x-ms-summary": "Contract Id", |
| 547 | + "description": "Contract Id" |
| 548 | + } |
| 549 | + ], |
| 550 | + "responses": { |
| 551 | + "200": { |
| 552 | + "description": "Success", |
| 553 | + "schema": { |
| 554 | + "$ref": "#/definitions/Contract" |
| 555 | + } |
| 556 | + }, |
| 557 | + "400": { |
| 558 | + "description": "Bad Request", |
| 559 | + "schema": { |
| 560 | + "type": "object" |
| 561 | + } |
| 562 | + }, |
| 563 | + "401": { |
| 564 | + "description": "Unauthorized", |
| 565 | + "schema": { |
| 566 | + "type": "object" |
| 567 | + } |
| 568 | + }, |
| 569 | + "404": { |
| 570 | + "description": "Not Found", |
| 571 | + "schema": { |
| 572 | + "type": "object" |
| 573 | + } |
| 574 | + } |
| 575 | + } |
| 576 | + }, |
528 | 577 | "delete": {
|
529 | 578 | "summary": "Delete a contract",
|
530 | 579 | "description": "Delete a specific contract by its ID.",
|
|
576 | 625 | "401": {
|
577 | 626 | "description": "Unauthorized",
|
578 | 627 | "schema": {
|
579 |
| - "type": "object" |
| 628 | + "type": "object" |
580 | 629 | }
|
581 | 630 | }
|
582 | 631 | }
|
583 |
| - }, |
584 |
| - "get": { |
585 |
| - "summary": "Get contract details", |
586 |
| - "description": "Retrieve the details of a contract by its ID.", |
587 |
| - "operationId": "GetContract", |
588 |
| - "parameters": [ |
589 |
| - { |
590 |
| - "name": "contract_id", |
591 |
| - "in": "path", |
592 |
| - "type": "string", |
593 |
| - "required": true, |
594 |
| - "x-ms-summary": "Contract Id", |
595 |
| - "description": "Contract Id" |
596 |
| - } |
597 |
| - ], |
598 |
| - "responses": { |
599 |
| - "200": { |
600 |
| - "description": "Success", |
601 |
| - "schema": { |
602 |
| - "$ref": "#/definitions/Contract" |
603 |
| - } |
604 |
| - }, |
605 |
| - "400": { |
606 |
| - "description": "Bad Request", |
607 |
| - "schema": { |
608 |
| - "type": "object" |
609 |
| - } |
610 |
| - }, |
611 |
| - "401": { |
612 |
| - "description": "Unauthorized", |
613 |
| - "schema": { |
614 |
| - "type": "object" |
615 |
| - } |
616 |
| - }, |
617 |
| - "404": { |
618 |
| - "description": "Not Found", |
619 |
| - "schema": { |
620 |
| - "type": "object" |
621 |
| - } |
622 |
| - } |
623 |
| - } |
624 | 632 | }
|
625 | 633 | },
|
626 | 634 | "/contracts/{contract_id}": {
|
|
1628 | 1636 | "workspace_id": {
|
1629 | 1637 | "type": "integer",
|
1630 | 1638 | "format": "int32",
|
1631 |
| - "description": "workspace_id", |
1632 |
| - "x-ms-summary": "Workspace Id", |
1633 |
| - "x-ms-visibility": "internal" |
| 1639 | + "x-ms-summary": "Workspace Id" |
1634 | 1640 | }
|
1635 | 1641 | },
|
1636 | 1642 | "description": "Contract _private attributes"
|
|
1645 | 1651 | "template_id": {
|
1646 | 1652 | "type": "integer",
|
1647 | 1653 | "format": "int32",
|
1648 |
| - "description": "template_id", |
1649 |
| - "x-ms-summary": "Template Id", |
1650 |
| - "x-ms-visibility": "internal" |
| 1654 | + "x-ms-summary": "Template Id" |
1651 | 1655 | },
|
1652 | 1656 | "template_type_id": {
|
1653 | 1657 | "type": "integer",
|
|
1761 | 1765 | "description": "Contract available_options attributes"
|
1762 | 1766 | },
|
1763 | 1767 | "data_fields": {
|
1764 |
| - "x-ms-visibility": "internal", |
1765 |
| - "x-ms-summary": "Data Fields", |
| 1768 | + "x-ms-summary": "Data field", |
1766 | 1769 | "type": "array",
|
1767 | 1770 | "items": {
|
1768 | 1771 | "type": "object",
|
1769 | 1772 | "properties": {
|
1770 | 1773 | "_private_ownerside": {
|
1771 |
| - "x-ms-summary": "Private Ownerside (Data Fields)", |
| 1774 | + "x-ms-summary": "private ownerside", |
1772 | 1775 | "type": "object",
|
1773 | 1776 | "properties": {
|
1774 | 1777 | "created_time": {
|
1775 | 1778 | "type": "string",
|
1776 |
| - "description": "created_time", |
1777 |
| - "x-ms-summary": "Created Time (Data Field)" |
| 1779 | + "description": "Data field created_time", |
| 1780 | + "x-ms-summary": "created time" |
1778 | 1781 | },
|
1779 | 1782 | "custom_id": {
|
1780 | 1783 | "type": "string",
|
1781 |
| - "description": "custom_id", |
1782 |
| - "x-ms-summary": "Custom Id (Data Field)" |
| 1784 | + "description": "Data field custom_id", |
| 1785 | + "x-ms-summary": "custom id" |
1783 | 1786 | },
|
1784 | 1787 | "updated_time": {
|
1785 | 1788 | "type": "string",
|
1786 |
| - "description": "updated_time", |
1787 |
| - "x-ms-summary": "Updated Time (Data Field)" |
| 1789 | + "description": "Data field updated_time", |
| 1790 | + "x-ms-summary": "Updated time" |
1788 | 1791 | }
|
1789 | 1792 | },
|
1790 | 1793 | "description": "_private_ownerside"
|
1791 | 1794 | },
|
1792 | 1795 | "description": {
|
1793 | 1796 | "type": "string",
|
1794 |
| - "description": "description", |
1795 |
| - "x-ms-summary": "Data Field Description" |
| 1797 | + "description": "Data field description", |
| 1798 | + "x-ms-summary": "description" |
1796 | 1799 | },
|
1797 | 1800 | "id": {
|
1798 | 1801 | "type": "integer",
|
1799 | 1802 | "format": "int32",
|
1800 |
| - "description": "id", |
1801 |
| - "x-ms-summary": "Data Field Id" |
| 1803 | + "description": "Data field id", |
| 1804 | + "x-ms-summary": "id" |
1802 | 1805 | },
|
1803 | 1806 | "name": {
|
1804 | 1807 | "type": "string",
|
1805 |
| - "description": "name", |
1806 |
| - "x-ms-summary": "Data Field Name" |
| 1808 | + "description": "Data field name", |
| 1809 | + "x-ms-summary": "name" |
1807 | 1810 | },
|
1808 | 1811 | "placeholder": {
|
1809 | 1812 | "type": "string",
|
1810 |
| - "description": "placeholder" |
| 1813 | + "description": "Data field placeholder", |
| 1814 | + "x-ms-summary": "placeholder" |
1811 | 1815 | },
|
1812 | 1816 | "value": {
|
1813 | 1817 | "type": "string",
|
1814 |
| - "description": "value" |
| 1818 | + "description": "Data field value", |
| 1819 | + "x-ms-summary": "value" |
1815 | 1820 | }
|
1816 | 1821 | }
|
1817 | 1822 | },
|
1818 |
| - "description": "data_fields" |
| 1823 | + "description": "Data fields collection" |
1819 | 1824 | },
|
1820 | 1825 | "id": {
|
1821 | 1826 | "type": "integer",
|
|
2416 | 2421 | "type": "object",
|
2417 | 2422 | "properties": {
|
2418 | 2423 | "amount": {
|
2419 |
| - "type": "integer", |
2420 |
| - "format": "int32", |
| 2424 | + "type": "number", |
2421 | 2425 | "x-ms-summary": "amount"
|
2422 | 2426 | },
|
2423 | 2427 | "type": {
|
|
2524 | 2528 | "type": "object",
|
2525 | 2529 | "properties": {
|
2526 | 2530 | "amount": {
|
2527 |
| - "type": "integer", |
2528 |
| - "format": "int32", |
| 2531 | + "type": "number", |
2529 | 2532 | "description": "Any positive number or 1/0 if the type is multiple_choice/single_choice",
|
2530 | 2533 | "x-ms-summary": "Amount"
|
2531 | 2534 | },
|
|
0 commit comments