json/v1.0/order.json in sk_api_schema-0.1.2 vs json/v1.0/order.json in sk_api_schema-0.2.0
- old
+ new
@@ -69,11 +69,11 @@
"readonly":true,
"type":"object",
"properties":{"$ref":"./client.json#properties"}
},
"client_id":{
- "description": "The clients uuid, must not be set for a new document. New docuents take the clients address field, due days and cash discount if client is present abd those fields are not set.",
+ "description": "The clients uuid. If a new client is assigned its language, address field are used if those fields are not set.",
"type":"string"
},
"team_id":{
"description": "A team uuid. If set only the team and its parent teams can see the record.",
"type":"string"
@@ -159,9 +159,24 @@
},
"filter[to]":{
"title" : "To date",
"description": "All objects with date before the date",
"type" : "date"
+ },
+ "filter[languages]":{
+ "title" : "Languages",
+ "description": "A list of language codes, comma separated",
+ "type" : "string"
+ },
+ "filter[client_ids]":{
+ "title" : "Clients",
+ "description": "A single or a list of client uuids, comma separated",
+ "type" : "string"
+ },
+ "filter[ids]":{
+ "title" : "Documents",
+ "description": "A single or a list of document uuids, comma separated",
+ "type" : "string"
},
"sort_by":{
"title" : "Sort by",
"description": "Sort the results by the given field => number",
"enum":["title", "number", "created_at", "updated_at", "client_id", "price_total", "price_tax", "date", "due_date"],