String payload = marshall(entity);
request.setRequestPayload(payload);
PostResponse response = resolveApitraryClient().send(request);
if (HttpStatus.Created.ordinal() == response.getStatusCode()) {
return (T) new PostResponseUnmarshaller().unMarshall(response, entity);
} else {
throw new ApitraryOrmException(response.getResult());
}
}