/
Integration ServiceOptimizer Get Promise Sets SOAP API

Integration ServiceOptimizer Get Promise Sets SOAP API

The sp2:GetPromSetsRequest API method allows the details of Promise Sets to be retrieved. 

Description

The sp2:GetPromSetsRequest API method allows the details of Promise Sets and their associated time bands as set up in ServiceScheduling to be retrieved.

Definition

The definition of this API is:

 Click here to expand...

Web Service

Type

Description

Req?

Val?

<sp2:GetPromSetsRequest>





 

<promSets>


An optional array of one or more <promSet> values.

When not included, all Promise Sets defined will be returned.

When set, at least one <promSet> value must be included.

No


 


<promSet>?</promSet>

PromSetID

A specific Promise Set ID, which when included in the <promSets> array, will be included in the response.

No

Yes

 

</promSets>





</sp2:GetPromSetsRequest>

 




Return Structure

The API returns a non-standard return structure.

 Click here to expand...

Web Service

Type

Description

<sp2:GetPromSetsResponse>

 



<result>
A structure containing details of the success or failure of the API call.


<type>?</type>stringThe Return Code name, representing the result of the API call.


<code>?</code>intThe Return Code number, representing the result of the API call.

</result>


<promSets>


A structure containing one or more <promSet> elements.



<promSet>
A structure representing a single Promise Set.



<id>?</id>PromSetIDThe ID of the Promise Set.



<bands>
A structure containing one or more <band> elements.




<band>
A structure representing a single Promise Set band.





<id>?</id>TimeBandIDThe ID of the Promise Set band.





<start>?</start>sp2:spTimeThe start time of the Promise Set band, in HH:MM format.





<end>?</end>sp2:spTimeThe end time of the Promise Set band, in HH:MM format.





<desc>?</desc>sp2:BandDescNameThe description of the Promise Set band.




</band>




</bands>



</promSet>


</promSets>

</sp2:GetPromSetsResponse>

 

Return Codes

In addition to the Integration ServiceOptimizer Common Standard Return Codes, the possible Integration ServiceOptimizer Common Return Codes from this API are:

  • SP_OK (0)

Related content

Get Promise Sets SOAP API
Get Promise Sets SOAP API
More like this
Get Promise Sets SOAP API
Get Promise Sets SOAP API
More like this
Integration ServiceOptimizer Get Operative SOAP API
Integration ServiceOptimizer Get Operative SOAP API
More like this