Performs a post of data to the provided URI.
Namespace: Rally.RestApiAssembly: Rally.RestApi (in Rally.RestApi.dll) Version: 3.1.1.0 (3.1.1.0)
Syntax public DynamicJsonObject Post(
string relativeUri,
DynamicJsonObject data
)
Public Function Post (
relativeUri As String,
data As DynamicJsonObject
) As DynamicJsonObject
public:
DynamicJsonObject^ Post(
String^ relativeUri,
DynamicJsonObject^ data
)
member Post :
relativeUri : string *
data : DynamicJsonObject -> DynamicJsonObject
Parameters
- relativeUri
- Type: SystemString
The relative URI to post the data to. - data
- Type: Rally.RestApi.JsonDynamicJsonObject
The data to submit to Rally.
Return Value
Type:
DynamicJsonObjectA
DynamicJsonObject with information on the response from Rally.
Exceptions Exception | Condition |
---|
RallyUnavailableException | Rally returned an HTML page. This usually occurs when Rally is off-line. Please check the ErrorMessage property for more information. |
RallyFailedToDeserializeJson | The JSON returned by Rally was not able to be deserialized. Please check the JsonData property for what was returned by Rally. |
Examples DynamicJsonObject data = objectToPost;
restApi.Post("defect/12345", data)
See Also