Create
Executes the Create type method on the SmartObject, using the request body data posted.
Value | Notes | |
---|---|---|
URI | {Service Root URI}{Service Path} Example: http://k2.denallix.com:8888/SmartObjectServices/REST/Samples/Employee/Create |
See URIs for REST Services |
Method | POST | |
Request Headers | Content-type: application/xml | Ensure that the request has the correct Content-type set |
Request Body |
XML string representing the SmartObject record to create Example Body data for a a hypothetical Employee SmartObject: <Employee> <Username>DENALLIX\Rick</Username> <First_Name>Rick</First_Name> <Last_Name>Cowan</Last_Name> <Email>rick@denallix.com</Email> </Employee> |
The request body contains the SmartObject item to create represented as XML. |
Return Type | Errors and Response Codes | Due to the asynchronous nature of the POST, a successful call may not return anything depending on the tooling used to execute the POST |