Mocks for specs.
Fixed api relation build.
Method for create resource from api id.