简体   繁体   中英

Creating a document in Domino Data Service(REST api)

I am trying to create a document in Reservation form using Domino Data Service(REST api), response is showing document is created but when i am trying to access that reservation(xyz's) using Notes client it is not showing up.

URL : http://server/Conf.nsf/api/data/documents?form=Reservation Payload: { "@authors": ["server","" ], "@form":"Reservation", "From":"xyz", "AltFrom":"xyz", "Chair":"xyz", "AltChair":"xyz", "Principal":"xyz", "SequenceNum":1, "ORGState":"5", "ResourceType":"1", "ResourceName":"BELLA VISTA/Building15", "Room":"BELLA VISTA/Building15", "Capacity":2, "_ViewIcon":133, "AppointmentType":"3", "StartTimeZone":"Z=-3005$DO=0$ZN=India", "EndTimeZone":"Z=-3005$DO=0$ZN=India", "Topic":"Test Meeting", "SendTo":"CN=BELLA VISTA/O=Building15", "Encrypt":"0", "Categories":"", "RouteServers":"server", "StartDate":"2015-03-28T06:30:00Z", "StartTime":"2015-03-28T07:30:00Z", "StartDateTime":"2015-03-28T06:30:00Z", "EndDate":"2015-03-28T07:30:00Z", "EndTime":"2015-03-28T07:30:00Z", "EndDateTime":"2015-03-28T07:30:00Z", "UpdateSeq":1, "Author":"xyz", "ResourceOwner":"", "ReservedFor":"xyz", "ReservedBy":"xyz", "RQStatus":"A", "Purpose":"Test from REST", "NoticeType":"A", "Step":3, "Site":"Building15", "Rese rveDate":"2015-03-28T06:30:00Z" }

If you're successfully creating the document but unable to see it, that suggests that you have a problem with a Reader Names or Author Names field that is denying you access to the document.

Do you have Manager access to the conf.nsf database, and Full Access Administrator rights on the server? If so, activate your full access rights via Domino Administrator, before opening conf.nsf and see if you can find your document, then check the document properties and examine all fields with SUMMARY READ-ACCESS NAMES or SUMMARY READ/WRITE-ACCESS NAMES types to determine what you've put there. Compare to manually created documents to see what should be there.

(If you lack the necessary permissions for this, either work with an administrator who has the rights, or set up a test server as AFAIK, there's no way to test the Domino Data Service with a local replica.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM