Description: Update space
URL: http://{your-server-url}/api/v1/core/spaces/{guid}
Method: PUT
Token Required: True
currentaccountid: {accountid - optional and default value is user's own account}
content-type: application/json or content-type: application/xml
token: {token}
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Spaces.SpaceRequest
Parameter | Type | Nullable |
---|---|---|
Request.Space | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Spaces.Space |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Spaces.SpaceResponse
Parameter | Type |
---|---|
Response.Space | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Spaces.Space |
<SpaceRequest xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Spaces" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Space xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Spaces"> <a:Active>true</a:Active> <a:Description>String</a:Description> <a:IconAltBackgroundColor>String</a:IconAltBackgroundColor> <a:IconAltForegroundColor>String</a:IconAltForegroundColor> <a:IconAltText>String</a:IconAltText> <a:IconUrl>String</a:IconUrl> <a:Name>String</a:Name> </Space> </SpaceRequest>
{ "Space":{ "Active":true, "Description":"String", "IconAltBackgroundColor":"String", "IconAltForegroundColor":"String", "IconAltText":"String", "IconUrl":"String", "Name":"String" } }
<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.2713146Z</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.2713146Z</a:UpdatedDate> </Space> </SpaceResponse>
{ "DebugMessage":"String", "Errors":[ { "Code":"String", "Message":"String", "StackTrace":"String" } ], "Status":1, "Space":{ "AccountId":123, "Active":true, "CreatedBy":123, "CreatedDate":"\/Date(1435748765271)\/", "Description":"String", "Guid":"11111111-1111-1111-1111-111111111111", "IconAltBackgroundColor":"String", "IconAltForegroundColor":"String", "IconAltText":"String", "IconUrl":"String", "Id":123, "Name":"String", "UpdatedBy":123, "UpdatedDate":"\/Date(1435748765271)\/" } }