Forum Discussion
richie
Community Hero
Hey hsravidatta,
Sorry about the delay in replying. Ive been ill.
It'll be a simple fix but we're going to need step by step instructions on exactly how you've created the endpoint to submit your request in readyapi.
If you supply the full RAW details (request uri and headers) of what works in Postman and then submit your request in readyapi and provide the full RAW details of that request for comparison, thatll indicate what you need to alter in readyapi to get your requests to work.
Cheers,
Rich
Sorry about the delay in replying. Ive been ill.
It'll be a simple fix but we're going to need step by step instructions on exactly how you've created the endpoint to submit your request in readyapi.
If you supply the full RAW details (request uri and headers) of what works in Postman and then submit your request in readyapi and provide the full RAW details of that request for comparison, thatll indicate what you need to alter in readyapi to get your requests to work.
Cheers,
Rich
hsravidatta
4 years agoNew 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
}
- richie4 years agoCommunity HeroHey 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- 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
Related Content
- 3 years ago
Recent Discussions
- 2 hours ago
- 5 days ago