"default":{"$ref":"#/responses/error"}
{
"x-odata-version":"
",
"swagger":"2.0"
,"info":{"title":"
OData Service for namespace
OData CSDL Document for namespace
","version":"
","description":"
This OData service is located at
://
/
"}
,"schemes":["
"],"host":"
","basePath":"
"
,"consumes":["application/json"]
,"produces":["application/json"]
,"paths":{
}
,"parameters":{
"top":{"name":"$top","in":"query","description":"Show only the first n items
, see [OData Paging - Top](http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part1-protocol.html#_Toc445374630)","type":"integer"},
"skip":{"name":"$skip","in":"query","description":"Skip the first n items
, see [OData Paging - Skip](http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part1-protocol.html#_Toc445374631)","type":"integer"},
"count":{"name":"$count","in":"query","description":"Include count of items
, see [OData Count](http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part1-protocol.html#_Toc445374632)","type":"boolean"},
"filter":{"name":"$filter","in":"query","description":"Filter items by property values
, see [OData Filtering](http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part1-protocol.html#_Toc445374625)","type":"string"},
"search":{"name":"$search","in":"query","description":"Search items by search phrases
, see [OData Searching](http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part1-protocol.html#_Toc445374633)","type":"string"}}
,"responses":{"error":{"description":"Error","schema":{"$ref":"
#/definitions/odata.error"}}}
}
\n\n## Entity Data Model\n![ER Diagram](http://yuml.me/diagram/class/
,
[
]
)
[
{bg:white}
]^
,[
]-
*
0..1
>[
{bg:white}
]
\n\n## References
\n- [
](
/?url=
)
\n\n## Term Definitions\nTerm|Description\n----|----
\n
|
"
":[
,
{
}
]
"
":{"uri":"
"
}
,"
":{"aliasFor":"
"}
"
":{"aliasFor":"
"},
"
":{
}
"
.
":{"type":"string",
"enum":[
]
,"x-isFlags":true
}
,
"
"
,
,
"
@value":
,
,
"
.
":{
}
"
.
":{
"x-baseType":"
",
"allOf":[{
},{
"type":"object"
,"x-abstract":true
,"x-keys":[]
,"x-mediaEntity":true
}]
}
,"x-relationship":{
}
"
.
":{
}
"appliesTo":
["
"]
"
"
"baseTerm":"
"
"title":"Related
","type":"object","properties":{"results":{
"type":"array","items":{
,"format":"base64url"
,"format":"decimal"
,"multipleOf":1
,"multipleOf":1.0e-
.
,"minimum":-
,"maximum":
,"format":"uint8"
,"format":"int8"
,"format":"int16"
,"format":"int32"
,"format":"int64"
,"format":"date"
,"format":"double"
,"format":"float"
,"format":"uuid"
,"format":"date-time"
,"format":"time"
,"format":"duration"
"$ref":"
#/definitions/
"
,"x-nullable":true
,"x-nullable":true
}}
}
"$ref":"
#/definitions/
.
"
"type":
[
"
"
,"null"
]
,"x-nullable":true
,"maxLength":
,"x-byteLength":
"x-precision":
"x-scale":
"variable"
,"default":
"
"
"x-
":
"
":
"x-keys":[
]
{"
":"
"}
"
"
{
}
"
.
":[
,
{
"parameters":[
]
}
]
{
,"parameterType":{
}
}
"returnType":{
}
,"x-entityContainer":{
}
"kind":"
"
"
":"
"
"kind":"
"
"
":{
}
"
":"
"
.
,"tags":[
,
{"name":"
","description":"
"}
]
.
"/
":{
"get":{
"summary":"Get entities from
","tags":["
"]
,"parameters":[
{"$ref":"#/parameters/top"},
{"$ref":"#/parameters/skip"},
{"$ref":"#/parameters/search"},{"$ref":"#/parameters/filter"},{"$ref":"#/parameters/count"}
],"responses":{"200":{"description":"Retrieved entities","schema":{"type":"object"
,"title":"Wrapper","properties":{"d":{"type":"object"
,"title":"Collection of
"
,"properties":{
"results"
"value"
:{"type":"array","items":{
}}}
}}
}},
}}
,"post":{
"summary":"Add new entity to
","tags":["
"]
,"parameters":[{"name":"
","in":"body"
,"schema":{
}}]
,"responses":{"201":{"description":"Created entity","schema":{
"title":"Created
","type":"object","properties":{"d":{
}}
}},
}}
}
,
{"name":"$orderby","in":"query","description":"Order items by property values
, see [OData Sorting](http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part1-protocol.html#_Toc445374629)"
,"type":"array","uniqueItems":true,"items":{"type":"string"},"enum":[
,
"
","
desc"
]}
,
{"name":"$select","in":"query","description":"Select properties to be returned
, see [OData Select](http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part1-protocol.html#_Toc445374620)"
,"type":"array","uniqueItems":true,"items":{"type":"string"},"enum":[
,
"
"
]}
,
{"name":"$expand","in":"query","description":"Expand related entities
, see [OData Expand](http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part1-protocol.html#_Toc445374621)"
,"type":"array","uniqueItems":true,"items":{"type":"string"},"enum":["*"
,"
"
]}
.
.
,"/
(
)":{
"get":{
"summary":"Get entity from
by key","tags":["
"]
,"parameters":[
],"responses":{"200":{"description":"Retrieved entity","schema":{
"title":"
","type":"object","properties":{"d":{
}}
}},
}}
,"patch":{
"summary":"Update entity in
","tags":["
"]
,"parameters":[
,{"name":"
","in":"body"
,"schema":{
"title":"Modified
","type":"object","properties":{"d":{
}}
}}],"responses":{"204":{"description":"Success"},
}}
,"delete":{
"summary":"Delete entity from
","tags":["
"]
,"parameters":[
,{"name":"If-Match","in":"header","description":"ETag","type":"string"}]
,"responses":{"204":{"description":"Success"},
}}
}
.
.
"/
":{
"get":{
"summary":"Get
","tags":["
"]
,"parameters":[
],"responses":{"200":{"description":"Retrieved entity","schema":{
}},
}}
,"patch":{
"summary":"Update
","tags":["
"]
,"parameters":[
{"name":"
","in":"body"
,"schema":{
}}],"responses":{"204":{"description":"Success"},
}}
}
,"description":"
"
,
=
{
}
'
'
,
{"name":"
","in":"path","required":true,"description":"key:
","type":
"integer","format":"int64"
"integer","format":"int32"
"string"
}
"/
":{"post":{"summary":"
Invoke action
","tags":["
Service Operations
"],"parameters":[
{"name":"body","in":"body","description":"Action parameters","schema":{"type":"object"
}}
]
"/
(
)
":{"get":{"summary":"
Invoke function
","tags":["
Service Operations
"],"parameters":[
]
,"responses":{
"204":{"description":"Success"}
"200":{"description":"Success","schema":{
"title":"Result","type":"object","properties":{"
d
value
":{
}}
}}
,
}}}
,"/
(
)
/
.
":{"post":{"summary":"Invoke action
","tags":["
"],"parameters":[
,
{"name":"body","in":"body","description":"Action parameters","schema":{"type":"object"
}}]
,"/
(
)
/
.
(
)":{"get":{"summary":"Invoke function
","tags":["
"],"parameters":[
]
,
{"name":"
","in":"query"
,"required":true
","in":"path"
,"required":true
,
}
,"maxLength":
,
=
{
}
"
":{
,
}
,"title":"
"
,"title":"
"
,"description":"
"
,"x-annotations":{
}
@
#
"description":
"
":
true
"
"
"
"
"
"
{"@
":"
"}
"
"
{
"@type":"#
"
}
"
":
[
]
{"@
":[
]
}
{"@apply":"
","parameterValues":[
]
}
{"@
":"
"
,"value":
}
{"@labeledElement":"
.
","value":
}
{"@labeledElementReference":"
"}
{"@null":{
}}
null
{"@
":
}
,
"
":{
,
}
{
}
,
"
":{
,
}
"
":{
}
,
,
,
"
":"
"
"
":{
}
"TODO:text()":"
"
annotations
includeAnnotations
navigationProperties
properties
s
x-srid
/
://
://
/