Passing a Complex object in the ODATA function #1211
Unanswered
dalip-negi-tfs
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
how to pass complex object as request payload in ODATA Function or any other way is there in ODATA?
I have requirement to get a response like :
{
"configuration": [],
"fullInformation": [],
"serverInformation": {
"Date": "",
"ExpirationDate": "",
"Numbers": "1,2",
"error": "None",
"mode": "test"
},
"summary": {
"Flags": [
{
"Id": "1223",
"Total": 0,
"InUse": 0,
"Active": 0
},
{
"Id": "3445",
"Total": 0,
"InUse": 0,
"ActiveI": 0
}
]
}
}
and the request payload is :
{
"RequiredConfiguration": true,
"Configuration": [],
"RequiredFullInformation": true,
"FullInformation": [],
"ServerInformation": true,
"RequiredSummary": true,
"RequiredConnectionCheck": false
}
Beta Was this translation helpful? Give feedback.
All reactions