SpiraPlan: ImportExport SOAP Web Service

See all operations

Requirement_Create2

Description

Creates a new requirement in the system

This version is use when you want to specify the location by parent requirement

Example(s)

            remoteRequirement = new RemoteRequirement();
            remoteRequirement.ReleaseId = releaseId1;
            remoteRequirement.StatusId = 3;
            remoteRequirement.ImportanceId = 1;
            remoteRequirement.Name = "Test Child 1";
            remoteRequirement.Description = String.Empty;
            remoteRequirement.AuthorId = userId1;
            remoteRequirement = spiraImportExport.Requirement_Create2(remoteRequirement, requirementId5);
            int requirementId6 = remoteRequirement.RequirementId.Value;
            

Parameters

Type Name Required
RemoteRequirement? remoteRequirement - The new requirement object (primary key will be empty)
int? parentRequirementId - Do we want to insert the requirement under a parent requirement

Return Value

RemoteRequirement - The populated requirement object - including the primary key