Korrektur für Produktive Api: DocumentPosition #3

Closed
opened 2024-06-10 11:05:41 +02:00 by Daniel_Hassert · 1 comment
Member
DocumentPosition:
    SalesPriceNetSingle:
        type: "string" --> "number"
    SalesPriceGrossSingle:
        type: "string" --> "number"
    SalesPriceNetTotal:
        type: "string" --> "number"
    SalesPriceGrossTotal:
        type: "string" --> "number"
DocumentPosition:
  type: "object"
  required:
    - "Guid"
    - "GuidDocument"
    - "Number"
    - "Type"
  properties:
    Guid:
      type: "string"
    GuidDocument:
      type: "string"
    Number:
      type: "number"
    Type:
      type: "string"
      enum: 
        - "Article"
        - "Text"
        - "Sum"
        - "Set"
    GuidArticle:
      type: "string"
    Amount:
      type: "number"
    SalesPriceNetSingle:
      type: "string"
    SalesPriceGrossSingle:
      type: "string"
    SalesPriceNetTotal:
      type: "string"
    SalesPriceGrossTotal:
      type: "string"
    Designation:
      type: "string"
    _HashValue:
      $ref: "#/components/schemas/_HashValue"
  example: 
    Guid: "ebb89e89-8d25-809e-7814-c53b686ae164"
    GuidDocument: "ebb89e89-8d25-809e-7814-c53b686ae164"
    Number: 1
    Type: "Article"   
    GuidArticle: "ebb89e89-8d25-809e-7814-c53b686ae164"   
    Amount: 4   
    SalesPriceNetSingle: 42.12
    SalesPriceGrossSingle: 50.12   
    SalesPriceNetTotal: 168.48   
    SalesPriceGrossTotal: 200.48   
```yaml DocumentPosition: SalesPriceNetSingle: type: "string" --> "number" SalesPriceGrossSingle: type: "string" --> "number" SalesPriceNetTotal: type: "string" --> "number" SalesPriceGrossTotal: type: "string" --> "number" ``` ```yaml DocumentPosition: type: "object" required: - "Guid" - "GuidDocument" - "Number" - "Type" properties: Guid: type: "string" GuidDocument: type: "string" Number: type: "number" Type: type: "string" enum: - "Article" - "Text" - "Sum" - "Set" GuidArticle: type: "string" Amount: type: "number" SalesPriceNetSingle: type: "string" SalesPriceGrossSingle: type: "string" SalesPriceNetTotal: type: "string" SalesPriceGrossTotal: type: "string" Designation: type: "string" _HashValue: $ref: "#/components/schemas/_HashValue" example: Guid: "ebb89e89-8d25-809e-7814-c53b686ae164" GuidDocument: "ebb89e89-8d25-809e-7814-c53b686ae164" Number: 1 Type: "Article" GuidArticle: "ebb89e89-8d25-809e-7814-c53b686ae164" Amount: 4 SalesPriceNetSingle: 42.12 SalesPriceGrossSingle: 50.12 SalesPriceNetTotal: 168.48 SalesPriceGrossTotal: 200.48 ```
Member

Fixed.

Fixed.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: PRM_Software_AG/api-documentation#3
No description provided.