public void TestPutSetProperty()
        {
            PdfApi target = new PdfApi(APIKEY, APPSID, BASEPATH);
            StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH);

            String name = "test.pdf";
            String propertyName = "NewProperty";
            String storage = "";
            String folder = "";

            Com.Aspose.PDF.Model.DocumentProperty body = new Com.Aspose.PDF.Model.DocumentProperty();
            body.Name = "NewProperty";
            body.Value = "NewValue";
            body.BuiltIn = false;

            Com.Aspose.PDF.Model.Link link = new Com.Aspose.PDF.Model.Link();
            link.Href = "http://api.aspose.com/v1.1/pdf/test.pdf/fields/NewProperty";
            link.Title = "NewProperty";
            link.Type = "link";
            link.Rel = "self";

            body.Links = new System.Collections.Generic.List<Com.Aspose.PDF.Model.Link> { link };

            storageApi.PutCreate(name, null, null, System.IO.File.ReadAllBytes("\\temp\\pdf\\resources\\" + name));

            Com.Aspose.PDF.Model.DocumentPropertyResponse actual;
            actual = target.PutSetProperty(name, propertyName, storage, folder, body);

            Assert.AreEqual("200", actual.Code);
            Assert.IsInstanceOfType(new Com.Aspose.PDF.Model.DocumentPropertyResponse(), actual.GetType());
        }