Forum Discussion
hsravidatta
New Contributor
Hi Rich
Thanks for your response. I can give certain steps which we followed in postman.
API URL (Method type is POST)
Body of payload may be something like below (json format)
{
"ServiceName":"SR_ServiceCatalogDetails",
"objCommonParameters":{
"_ProxyDetails":{
"AuthType":"APIKEY",
"APIKey":"<keygoes here>",
"ProxyID":0,
"ReturnType":"JSON"
},
"ServiceRequestProperty": {
"SearchKeyword": "searchkeyword",
"EntitledService": false,
"CategoryOrCatalog": "CATALOG",
"CategoryID": 0,
"CatalogTypeID": 0,
"OrgID": "1",
"Instance": "Info"
}
}
}
response would be some thig like this in (postman)
{
"Errors": "",
"Message": "",
"Output": "",
"TokenID": "valid tokeid goes here",
"OrgID": 0,
"OutputObject": {
"Details": {
"CatalogDetail": [
{
"CatalogID": 142,
"CategoryID": 144,
"ShortCatalogName": "keyword matching information in shortcode",
"CatalogName": "keyword matching information",
"Description": "description",
"IsVendor": false,
"IsPackage": 0,
"AncestorParent_CategoryID": 0,
"IsEntitled": 0,
"CategoryName": "Leave",
"ServiceCatalogBGColor": "#ffffff",
"PackageFirstCatalog": 0,
"InfoCatalogTypeID": "CLOG"
}
]
}
},
"OutputID": 0,
"Input": null
}
"Errors": "",
"Message": "",
"Output": "",
"TokenID": "valid tokeid goes here",
"OrgID": 0,
"OutputObject": {
"Details": {
"CatalogDetail": [
{
"CatalogID": 142,
"CategoryID": 144,
"ShortCatalogName": "keyword matching information in shortcode",
"CatalogName": "keyword matching information",
"Description": "description",
"IsVendor": false,
"IsPackage": 0,
"AncestorParent_CategoryID": 0,
"IsEntitled": 0,
"CategoryName": "Leave",
"ServiceCatalogBGColor": "#ffffff",
"PackageFirstCatalog": 0,
"InfoCatalogTypeID": "CLOG"
}
]
}
},
"OutputID": 0,
"Input": null
}
richie
4 years agoCommunity Hero
Hey hsravidatta,
Need to compare the whole thing. Thats not just URI and payload, i mean the headers as well.
Whatevers working in postman you need to alter your ReadyAPI request to match the headers as well as URI and payload.
Ta
Rich
Need to compare the whole thing. Thats not just URI and payload, i mean the headers as well.
Whatevers working in postman you need to alter your ReadyAPI request to match the headers as well as URI and payload.
Ta
Rich
- hsravidatta4 years agoNew Contributor
Hi Rich
Thanks for the prompt response. Please find the attached document for your reference.
Thank you!
- richie4 years agoCommunity HeroHey hsravidatta,
Can you repeat your last but with ReadyAPI? I need to see the differences and compare with what youve got working in postman.
Ta
Rich- hsravidatta4 years agoNew Contributor
Hi Rich
Thanks for your prompt response. Please find the attached updated document with ReadyAPI. I get the output as well in ReadyAPI
Regards
Related Content
- 3 years ago
Recent Discussions
- 2 hours ago
- 5 days ago