Ascio Web Service v3

C# GetMarks

Search for marks

GetMarksResponse GetMarks(SecurityHeaderDetails securityHeader,GetMarksRequest request)

Response codes

ResultCodeMessageValue
200OK
401Authorization failed
501Syntax error in parameters or arguments
506Required attribute missing in request

GetMarks Request

Property
request

GetMarksResponse

PropertyDescription
GetMarksResult
TotalCountExample: 1
MarkInfos
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

C# example

AscioServices services = new ServiceReference1.AscioServiceClient();
SecurityHeaderDetails securityHeader = new SecurityHeaderDetails();
securityHeader.Account = "username";
securityHeader.Password = "password";

PagingInfo pageInfo =  new PagingInfo();
pageInfo.PageIndex = 1;
pageInfo.PageIndexSpecified = true;
pageInfo.PageSize = 1;
pageInfo.PageSizeSpecified = true;

GetMarksRequest request =  new GetMarksRequest();
request.ObjectNames = array(
	);
request.Handles = array(
	);
request.Status = "StatusTest";
request.StatusSpecified = true;
request.MarkType = "MarkTypeTest";
request.MarkTypeSpecified = true;
request.ObjectComment = "Example Object Comment";
request.ObjectCommentSpecified = true;
request.CreationFromDate = new \DateTime();
request.CreationFromDateSpecified = true;
request.CreationToDate = new \DateTime();
request.CreationToDateSpecified = true;
request.ExpireFromDate = new \DateTime();
request.ExpireFromDateSpecified = true;
request.ExpireToDate = new \DateTime();
request.ExpireToDateSpecified = true;
request.OwnerName = "OwnerNameTest";
request.OwnerNameSpecified = true;
request.OwnerOrganizationName = "OwnerOrganizationNameTest";
request.OwnerOrganizationNameSpecified = true;
request.OwnerEmail = "OwnerEmailTest";
request.OwnerEmailSpecified = true;
request.CustomerReferenceExternalId = "CustomerReferenceExternalIdTest";
request.CustomerReferenceExternalIdSpecified = true;
request.CustomerReferenceDescription = "CustomerReferenceDescriptionTest";
request.CustomerReferenceDescriptionSpecified = true;
request.OrderSort = MarkSortType.CreatedAsc;
request.OrderSortSpecified = true;
request.PageInfo = pageInfo;;
GetMarksResponse response = services.GetMarks(securityHeader, request);

if (response.ResultCode == 200) {
	Console.WriteLine("OK");
} else {
	Console.WriteLine("Error: "+response.ResultMessage+" ("+response.resultMessage+")";
}
WSDL for AWS v3
https://aws.demo.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.