Pal rest service

Base path: [ENVIRONMENT_URL]/rest/pals

Send "Accept" HTTP header to specify content format. Possible values are "application/xml" for XML format, "application/json" for JSON format, and "text/plain" for text format (where permitted for simple string, boolean, and numeric responses).

Default response format is "application/xml".

Use BASIC authorization.

Description:Retrieves a list of pals
Method:GET
Path:[ENVIRONMENT_URL]/cpservice/rest/pals
Parameters: Name Type Source Description
search PalSearch Request headers:
category
description
exactCategory
exactDescription
exactName
exactPublisher
includeInstalled
includeTest
matchAny
name
publisher
startRecord
Optional PalSearch object (created from headers map).
Returns:List of PalInfo
Sample:
GET https://secure.cloudpiston.com/cpservice/rest/pals HTTP/1.1
name: my pal
category: development
startRecord: 100
    

 

Description:Retrieves PalInfo object details
Method:GET
Path:[ENVIRONMENT_URL]/cpservice/rest/pals/*
Parameters: Name Type Source Description
id String Path element #1 Pal ID
Returns:PalInfo
Sample:
GET https://secure.cloudpiston.com/cpservice/rest/pals/PAL-LL-118611DE003-4D837E4E HTTP/1.1
    

 

Description:Returns a URL containing a single use token to the specified Pal. This URL can be used to authenticate the user and create a new Transaction.
Method:POST
Path:[ENVIRONMENT_URL]/cpservice/rest/pals/*/token
Parameters: Name Type Source Description
palId String Path element #1 Pal ID
userSSO String Form parameter userSSO SSO for user
Returns:String
Sample:
POST https://secure.cloudpiston.com/cpservice/rest/pals/PAL-LL-118611DE003-4D837E4E/token HTTP/1.1

userSSO=SSO-11A4FD35049-30E75B79
    

or
POST https://secure.cloudpiston.com/cpservice/rest/pals/PAL-LL-118611DE003-4D837E4E/token HTTP/1.1

userSSO=auto
    

 




    
    Pal rest service
    


   1  
   2  
   3  
   4  
   5  
   6  
   7  
   8  
   9  
  10  
  11  
  12  
  13  
  14  
  15  
  16  
  17  
  18  
  19  
  20  
  21  
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema elementFormDefault="qualified" version="1.0" targetNamespace="http://pal.contractpal.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="PalSearch">
    <xs:sequence>
      <xs:element name="name" type="xs:string" minOccurs="0"/>
      <xs:element name="description" type="xs:string" minOccurs="0"/>
      <xs:element name="category" type="xs:string" minOccurs="0"/>
      <xs:element name="publisher" type="xs:string" minOccurs="0"/>
      <xs:element name="exactName" type="xs:boolean"/>
      <xs:element name="exactDescription" type="xs:boolean"/>
      <xs:element name="exactCategory" type="xs:boolean"/>
      <xs:element name="exactPublisher" type="xs:boolean"/>
      <xs:element name="startRecord" type="xs:int"/>
      <xs:element name="includeTest" type="xs:boolean"/>
      <xs:element name="includeInstalled" type="xs:boolean"/>
      <xs:element name="matchAny" type="xs:boolean"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>



    
    Pal rest service
    


   1  
   2  
   3  
   4  
   5  
   6  
   7  
   8  
   9  
  10  
  11  
  12  
  13  
  14  
  15  
  16  
  17  
  18  
  19  
  20  
  21  
  22  
  23  
  24  
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema elementFormDefault="qualified" version="1.0" targetNamespace="http://pal.contractpal.com" xmlns:tns="http://pal.contractpal.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="PalInfo" type="tns:PalInfo"/>
  <xs:complexType name="PalInfo">
    <xs:sequence>
      <xs:element name="id" type="xs:string" minOccurs="0"/>
      <xs:element name="name" type="xs:string" minOccurs="0"/>
      <xs:element name="description" type="xs:string" minOccurs="0"/>
      <xs:element name="category" type="xs:string" minOccurs="0"/>
      <xs:element name="branchName" type="xs:string" minOccurs="0"/>
      <xs:element name="createDate" type="xs:string" minOccurs="0"/>
      <xs:element name="lastModifiedDate" type="xs:string" minOccurs="0"/>
      <xs:element name="deployed" type="xs:boolean"/>
      <xs:element name="modeTransaction" type="xs:boolean"/>
      <xs:element name="modeConsole" type="xs:boolean"/>
      <xs:element name="modeWeb" type="xs:boolean"/>
      <xs:element name="shadow" type="xs:boolean"/>
      <xs:element name="shell" type="xs:boolean"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>