/// <summary> /// Gets the post body for sending a request. /// </summary> /// <param name="operations">The list of operations.</param> /// <returns>The POST body, for using in the web request.</returns> private string GetPostBody(Operation[] operations) { BatchJobMutateRequest request = new BatchJobMutateRequest() { operations = operations.ToArray() }; return SerializationUtilities.SerializeAsXmlText(request); }