models.dsl.realization.Customer_includedPropertiesWCardinality.rapid Maven / Gradle / Ivy
rapidModel Customer_includedPropertiesWCardinality
resourceAPI Customer baseURI "http://modelsolv.com"
objectResource CustomerObject type Customer
only properties
CustomerID!
CustomerName
referenceEmbed > Orders
referenceEmbed > LineItems
referenceLink > Product
targetResource ProductObject
linkDescriptor ProductObject.ProductLink
mediaTypes
application/xml
method POST Customer
request type Customer
with all properties
including
CustomerName!
Orders
excluding
NotIncludedProp1
referenceLink > Orders
targetResource OrderObject
response type Customer statusCode 200
with all properties
including
CustomerID!
excluding
NotIncludedProp2
method POST PostWithReferenceCardinalityOverride
request type Customer
with all properties
including
Orders!
referenceLink > Orders
targetResource OrderObject
objectResource ProductObject type Product
linkDescriptor ProductLink
ProductID
default objectResource OrderObject type Order
default linkDescriptor OrderLink
OrderID
Quantity
Price
linkDescriptor DetailedOrderLink
OrderID
Quantity
Price
Currency
objectResource BigOrderObject type Order
default linkDescriptor OrderLink
OrderID
Quantity
Price
linkDescriptor DetailedOrderLink
OrderID
Quantity
Price
Currency
dataModel Customer
structure Customer
/** CustomerId property*/
CustomerID : string ?
CustomerName : string ?
NotIncludedProp1 : string
NotIncludedProp2 : string
/**Orders reference*/
Orders : containing reference Order *
structure Order
OrderID : string
LineItems : containing reference LineItem *
Quantity : decimal
Price : decimal
Currency : string
structure LineItem
lineItemID : string
Product : reference Product
structure Product
ProductID : string
ProductName : string
Price : decimal
ReorderThreshold : decimal
Image : base64Binary