POST api/SiteManagement/RegisterSiteCollection

Register a site collection to be used by WorkPoint for multi site collection

Request Information

URI Parameters

None.

Body Parameters

WorkPoint365.WebAPI.Model.SiteCollectionParameter
NameDescriptionTypeAdditional information
ServerRelativeUrl

Gets or sets the relative url of the site collection fx /sites/workpoint_0

string

None.

AssignedToBusinessModuleId

Gets or sets the id of the business module

globally unique identifier

None.

SiteCollectionType

Gets or sets the use of the site collection. Can be Bucket or Entity (one-site per site collection)

WorkPoint365.WebAPI.Model.MultiSiteCollectionType

None.

Request Formats

application/json, text/json

Sample:
{
  "ServerRelativeUrl": "sample string 1",
  "AssignedToBusinessModuleId": "fe03fca4-23ab-4797-942e-dd5921207a37",
  "SiteCollectionType": 0
}

application/xml, text/xml

Sample:
<SiteCollectionParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPoint365.WebAPI.Model">
  <AssignedToBusinessModuleId>fe03fca4-23ab-4797-942e-dd5921207a37</AssignedToBusinessModuleId>
  <ServerRelativeUrl>sample string 1</ServerRelativeUrl>
  <SiteCollectionType>Bucket</SiteCollectionType>
</SiteCollectionParameter>

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.