SpiraPlan: REST Web Service (v7.0)
Retrieves the currently active provider configuration for a particular product.
To access this REST web service, you need to use the following URL (make sure to replace any parameters (eg {project_id}) with the relevant value (eg 1):
https://api.inflectra.com/spira/services/v7_0/RestService.svc/projects/{project_id}/source-code/providers
Nothing Expected
The JSON and XML examples below show the shape of one entry that will be returned. It does not show an example of how that entry will be populated.
<RemoteProductSourceCodeProvider xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v7_0.DataObjects"> <ConnectionInfo i:nil="true" /> <Custom01 i:nil="true" /> <Custom02 i:nil="true" /> <Custom03 i:nil="true" /> <Custom04 i:nil="true" /> <Custom05 i:nil="true" /> <Domain i:nil="true" /> <IsActive>false</IsActive> <Login i:nil="true" /> <Password i:nil="true" /> <VersionControlSystemId>0</VersionControlSystemId> <ProjectId>0</ProjectId> </RemoteProductSourceCodeProvider>
{"ProjectId":0, "VersionControlSystemId":0, "IsActive":false, "ConnectionInfo":null, "Login":null, "Password":null, "Domain":null, "Custom01":null, "Custom02":null, "Custom03":null, "Custom04":null, "Custom05":null}