POST api/projectone/P1ProjectIdentifierExists
Indicate whether the identifier exists or not.
Request Information
URI Parameters
None.
Body Parameters
IdentifierExistsBinderName | Description | Type | Additional information |
---|---|---|---|
Identifier | string |
None. |
|
ExcludedP1Project | P1ProjectIdObject |
None. |
Request Formats
application/json, text/json
Sample:
{ "Identifier": "sample string 1", "ExcludedP1Project": { "ProjectId": 1, "SpaceId": 2 } }
application/xml, text/xml
Sample:
<IdentifierExistsBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.ProjectOne"> <ExcludedP1Project> <ProjectId>1</ProjectId> <SpaceId>2</SpaceId> </ExcludedP1Project> <Identifier>sample string 1</Identifier> </IdentifierExistsBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Indicate whether the identifier exists or not.
API_Data_BooleanName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": true }
application/xml, text/xml
Sample:
<API_Data_boolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Data>true</Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_boolean>