Bug 1313079 - Organization create API call don't return the ID of created entity
Summary: Organization create API call don't return the ID of created entity
Status: CLOSED DUPLICATE of bug 1312767
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
Depends On:
TreeView+ depends on / blocked
Reported: 2016-02-29 21:45 UTC by Elyézer Rezende
Modified: 2016-02-29 22:00 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-02-29 22:00:13 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Elyézer Rezende 2016-02-29 21:45:07 UTC
Description of problem:
When doing a API create request for Organization it is not returning the ID of the created entity. Actually it is returning an empty dictionary.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Do a POST request to /katello/api/organizations
2. Check the content returned

Actual results:
No data is returned

Expected results:
At least the created entity ID is returned

Additional info:
2016-02-29 18:41:26 - nailgun.client - DEBUG - Making HTTP POST request to https://sat-server.example.com:443/katello/api/v2/organizations with options {'verify': False, 'auth': ('admin', 'changeme'), 'headers': {'content-type': 'application/json'}} and data {"name": "\ud868\udd89\u9c32\ub23c\ud7dc\ud843\udc4d\ud845\udfd5\u8da9\ud86b\udee2\ud85d\ude80"}.
2016-02-29 18:41:34 - nailgun.client - DEBUG - Received HTTP 201 response: {}

Comment 1 Elyézer Rezende 2016-02-29 22:00:13 UTC

*** This bug has been marked as a duplicate of bug 1312767 ***

Note You need to log in before you can comment on or make changes to this bug.