Skip to content

Commit f713812

Browse files
bcameron1231VesaJuvonen
authored andcommitted
Updating Body of POST Request (SharePoint#4568)
Request requires a 'request' object for the JSON payload. For issue SharePoint#4567
1 parent 20aa082 commit f713812

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

docs/apis/site-creation-rest.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,17 @@ odata-version: 4.0
3939
method: POST
4040
body:
4141
{
42-
"Title": "Communication Site 1",
43-
"Url":"https://contoso.sharepoint.com/sites/commsite1",
44-
"Lcid": 1033,
45-
"ShareByEmailEnabled":false,
46-
"Classification":"Low Business Impact",
47-
"Description":"Description",
48-
"WebTemplate":"SITEPAGEPUBLISHING#0",
49-
"SiteDesignId":"6142d2a0-63a5-4ba0-aede-d9fefca2c767",
50-
42+
"request":{
43+
"Title": "Communication Site 1",
44+
"Url":"https://contoso.sharepoint.com/sites/commsite1",
45+
"Lcid": 1033,
46+
"ShareByEmailEnabled":false,
47+
"Classification":"Low Business Impact",
48+
"Description":"Description",
49+
"WebTemplate":"SITEPAGEPUBLISHING#0",
50+
"SiteDesignId":"6142d2a0-63a5-4ba0-aede-d9fefca2c767",
51+
52+
}
5153
}
5254
```
5355

0 commit comments

Comments
 (0)