RetrieveSpaceById

 

SpaceService / RetrieveSpaceById

 

Description: Retrieve space by Guid

URL: http://{your-server-url}/api/v1/core/spaces/{guid}

Method: GET

Token Required: True


Request Headers:
content-type: application/json or content-type: application/xml
token: {token}
currentaccountid: {accountid - optional and default value is user's own account}
Response:

Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Spaces.SpaceResponse

Parameter Type
Response.Space Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Spaces.Space

The following is an example response Xml body:
<SpaceResponse xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Spaces" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <DebugMessage xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">String</DebugMessage>
  <Errors xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">
    <Error>
      <Code>String</Code>
      <Message>String</Message>
      <StackTrace>String</StackTrace>
    </Error>
  </Errors>
  <Status xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">Success</Status>
  <Space xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Spaces">
    <a:AccountId>123</a:AccountId>
    <a:Active>true</a:Active>
    <a:CreatedBy>123</a:CreatedBy>
    <a:CreatedDate>2015-07-01T11:06:05.2703146Z</a:CreatedDate>
    <a:Description>String</a:Description>
    <a:Guid>11111111-1111-1111-1111-111111111111</a:Guid>
    <a:IconAltBackgroundColor>String</a:IconAltBackgroundColor>
    <a:IconAltForegroundColor>String</a:IconAltForegroundColor>
    <a:IconAltText>String</a:IconAltText>
    <a:IconUrl>String</a:IconUrl>
    <a:Id>123</a:Id>
    <a:Name>String</a:Name>
    <a:UpdatedBy>123</a:UpdatedBy>
    <a:UpdatedDate>2015-07-01T11:06:05.2703146Z</a:UpdatedDate>
  </Space>
</SpaceResponse>

The following is an example response Json body:
{
	"DebugMessage":"String",
	"Errors":[
		{
			"Code":"String",
			"Message":"String",
			"StackTrace":"String"
		}
	],
	"Status":1,
	"Space":{
		"AccountId":123,
		"Active":true,
		"CreatedBy":123,
		"CreatedDate":"\/Date(1435748765270)\/",
		"Description":"String",
		"Guid":"11111111-1111-1111-1111-111111111111",
		"IconAltBackgroundColor":"String",
		"IconAltForegroundColor":"String",
		"IconAltText":"String",
		"IconUrl":"String",
		"Id":123,
		"Name":"String",
		"UpdatedBy":123,
		"UpdatedDate":"\/Date(1435748765270)\/"
	}
}