The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /json/reply/OrganizationAddRequest HTTP/1.1
Host: api.sagecpc.com
Content-Type: application/json
Content-Length: length
{"organization":{"organizationId":0,"organizationName":"String","organizationOwner":0,"organizationLocation":0,"isSiteMember":false,"isShared":false,"responsiblePrinter":0,"minimalOrderingPrice":0,"account":"String","isDisabled":false,"showSystemGroups":false,"useOrglevelReports":false,"faxCostPerPage":0,"webSite":"String","cdOrderingPrice":0,"maxDownloadPrice":0,"allowPO":false,"allowIndividualDownloads":false,"vendorId":"String","vendorWatch":"String","vendorExpiration":"\/Date(-62135596800000-0000)\/"},"authSessionKey":"String","additionalInfo":[{"propertyName":"String","propertyValue":"String"}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"organization":{"organizationId":0,"organizationName":"String","organizationOwner":0,"organizationLocation":0,"isSiteMember":false,"isShared":false,"responsiblePrinter":0,"minimalOrderingPrice":0,"account":"String","isDisabled":false,"showSystemGroups":false,"useOrglevelReports":false,"faxCostPerPage":0,"webSite":"String","cdOrderingPrice":0,"maxDownloadPrice":0,"allowPO":false,"allowIndividualDownloads":false,"vendorId":"String","vendorWatch":"String","vendorExpiration":"\/Date(-62135596800000-0000)\/"},"uiErrorMessage":"String","uiDevErrorMessage":"String","errorOccured":false,"logMessageType":"DEBUG","responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"numberOfRecordsEffected":0}