CreateRequestAsDraft
Cria uma nova solicitação de acordo com os parâmetros informados.
Disponível no Web Service CAPRequests.asmx
Parâmetros
issuerLogOnName [String]: Nome do Solicitante (somente Administradores do CAP podem informar um solicitante diferente do usuário atualmente autenticado).
servicePath [String]: Caminho do Workflow.
cultureName [String]: Nome da Cultura (utilizado para identificação do Workflow, Área, localização de Atributos e Etapas e/ou no retorno de valores em um idioma específico).
metadataValues [ MetadataValue [] ]: Arranjo de Atributos.
Exemplo de Solicitação/Resposta SOAP (v1.2)
POST /Services/CAPRequests.asmx HTTP/1.1
Host: support.capworkflow.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<CreateRequest xmlns="http://iteris.cap.webservices"> <issuerLogOnName>string</issuerLogOnName> <servicePath>string</servicePath>
<cultureName>string</cultureName>
<metadataValues>
<MetadataValue>
<Name>string</Name>
<Value>string</Value>
<DisplayValue>string</DisplayValue>
<DisplayMode>None or ReadOnly or Edit or Required or Hidden</DisplayMode>
<Attachments> <MetadataAttachment xsi:nil="true" /> <MetadataAttachment xsi:nil="true" />
</Attachments>
<Type>None or Text or Number or DateTime or Choice or YesNo or Attachment or ListLookup or Password or People or MultilineText or Hyperlink or Table</Type>
</MetadataValue>
<MetadataValue>
<Name>string</Name>
<Value>string</Value>
<DisplayValue>string</DisplayValue>
<DisplayMode>None or ReadOnly or Edit or Required or Hidden</DisplayMode>
<Attachments> <MetadataAttachment xsi:nil="true" /> <MetadataAttachment xsi:nil="true" /> </Attachments>
<Type>None or Text or Number or DateTime or Choice or YesNo or Attachment or ListLookup or Password or People or MultilineText or Hyperlink or Table</Type>
</MetadataValue>
</metadataValues>
<comments>string</comments>
</CreateRequest>
</soap12:Body>
</soap12:Envelope>
----------
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <CreateRequestResponse xmlns="http://iteris.cap.webservices"> <CreateRequestResult>int</CreateRequestResult> </CreateRequestResponse> </soap12:Body> </soap12:Envelope>