Description
This method creates space record of a space type in Unifier. This works only for project or shell level.
Support
Installation: ASP and Self host
Level | Yes or No |
---|---|
Company Level | No |
Project and Shell Level | Yes |
Prototype
public XMLObject createSpace (String shortname, String authcode, string projectNumber, String spacetype, String spaceXML);
Parameters
Parameter | Description |
---|---|
shortname | identifier of the company, company’s short name |
authcode | authentication key for the company, in text string |
projectNumber | Identifier of the project or shell in Unifier. |
spacetype | Identifier of the space type |
spaceXML | XML that contains information related to space that is getting created |
Return Value
XMLObject (XMLObject is described at the beginning of this document)
Sample Method
createSpace ("acme", "acme_authcode", "proj-01", "Useable Spaces", spaceXML) will return the XML Record of the Level created.
Additional Information
Multiple spaces can be created by repeating <_space> for each space record.
This service can be used for both Shells of cost code type CBS and Generic.
XML tags under _space element are based on the integration interface definition of space form.
uuu_sp_level_picker element value will be used to identify the level under which the space record should be created.