OData spec here talks about 'advertising' of actions in the response. It says 'MAY', but this bug is just to keep track of atleast to make sure we provide this ability.
Spec:
http://www.odata.org/media/30002/OData.html#advertisingcurrentlyavailableactions
Example:
Example: Given a GET request to http://server/Customers(‘ALFKI’)
The service might respond with a Customer entity that advertises a binding of the SampleEntities.CreateOrder action to itself:
{"d":
{
"__metadata": {
...,
"actions" : {
"SampleEntities.CreateOrder" : [{
"title" : "Create Order",
"target" : "Customers(\'ALFKI\')/SampleEntities.CreateOrder"
}]
}
},
"CustomerID": "ALFKI",
"CompanyName": "Alfreds Futterkiste",
...
}
}
Comments: I believe Alex has checked this fix already.
Spec:
http://www.odata.org/media/30002/OData.html#advertisingcurrentlyavailableactions
Example:
Example: Given a GET request to http://server/Customers(‘ALFKI’)
The service might respond with a Customer entity that advertises a binding of the SampleEntities.CreateOrder action to itself:
{"d":
{
"__metadata": {
...,
"actions" : {
"SampleEntities.CreateOrder" : [{
"title" : "Create Order",
"target" : "Customers(\'ALFKI\')/SampleEntities.CreateOrder"
}]
}
},
"CustomerID": "ALFKI",
"CompanyName": "Alfreds Futterkiste",
...
}
}
Comments: I believe Alex has checked this fix already.