action noosh_post_buy_order { label: "Create a quick buy order" description: "Create a quick buy order" provider: noosh method: POST path: "/v1/workgroups/{workgroup_id}/projects/{project_id}/buyOrders" encoding: json input: { type: "object" properties: { buyer_user_id: { type: "integer" format: "int64" } comments: { type: "string" } custom_fields: { type: "array" items: { description: "Java type: com.noosh.domain.nooshapi.persist.vo.CustomFieldPersistVO" properties: { date_value: { type: "string" format: "date" } number_value: { description: "Java type: java.math.BigDecimal" type: "object" } param_name: { type: "string" } string_value: { type: "string" } } } } invoice_or_billing_recipient: { type: "integer" format: "int64" } order_completion_date: { type: "string" format: "date" } order_items: { type: "array" items: { description: "Java type: com.noosh.domain.nooshapi.persist.vo.OrderItemPersistVO" properties: { completion_date: { type: "string" format: "date" } custom_fields: { type: "array" items: { type: "object" additionalProperties: true } } ex_tax_value_calculated: { type: "object" additionalProperties: true } notes: { type: "string" } per: { type: "integer" format: "int64" } price: { type: "object" additionalProperties: true } quantity: { type: "object" additionalProperties: true } shipping: { type: "object" additionalProperties: true } spec_id: { type: "integer" format: "int64" } spec_reference_id: { type: "integer" format: "int64" } tax: { type: "string" } } } } other_selection_reason: { type: "string" } payment_method_id: { type: "integer" format: "int64" } payment_reference_no: { type: "string" } project_id: { type: "string" } sellOrder: { type: "boolean" } shipping: { type: "object" additionalProperties: true } supplier_reference: { type: "string" } supplier_selection_reason_id: { type: "integer" format: "int64" } supplier_user_id: { type: "integer" format: "int64" } tax: { type: "string" } title: { type: "string" } workgroup_id: { type: "string" } } required: ["project_id", "workgroup_id"] additionalProperties: false } output: { description: "Java type: com.noosh.domain.nooshapi.persist.po.OrderPO" properties: { buyer_user_id: { type: "integer" format: "int64" } comments: { type: "string" } custom_fields: { type: "array" items: { description: "Java type: com.noosh.domain.nooshapi.persist.vo.CustomFieldPersistVO" properties: { date_value: { type: "string" format: "date" } number_value: { description: "Java type: java.math.BigDecimal" type: "object" } param_name: { type: "string" } string_value: { type: "string" } } } } invoice_or_billing_recipient: { type: "integer" format: "int64" } order_completion_date: { type: "string" format: "date" } order_items: { type: "array" items: { description: "Java type: com.noosh.domain.nooshapi.persist.vo.OrderItemPersistVO" properties: { completion_date: { type: "string" format: "date" } custom_fields: { type: "array" items: { type: "object" additionalProperties: true } } ex_tax_value_calculated: { type: "object" additionalProperties: true } notes: { type: "string" } per: { type: "integer" format: "int64" } price: { type: "object" additionalProperties: true } quantity: { type: "object" additionalProperties: true } shipping: { type: "object" additionalProperties: true } spec_id: { type: "integer" format: "int64" } spec_reference_id: { type: "integer" format: "int64" } tax: { type: "string" } } } } other_selection_reason: { type: "string" } payment_method_id: { type: "integer" format: "int64" } payment_reference_no: { type: "string" } sellOrder: { type: "boolean" } shipping: { type: "object" additionalProperties: true } supplier_reference: { type: "string" } supplier_selection_reason_id: { type: "integer" format: "int64" } supplier_user_id: { type: "integer" format: "int64" } tax: { type: "string" } title: { type: "string" } } } }