MCPcopy Create free account
hub / github.com/UiPath/uipathcli / createDigitizeStatusRequest

Method createDigitizeStatusRequest

utils/api/du_client.go:99–106  ·  view source on GitHub ↗
(projectId string, documentId string)

Source from the content-addressed store, hash-verified

97}
98
99func (c DuClient) createDigitizeStatusRequest(projectId string, documentId string) *network.HttpRequest {
100 uri := c.newUriBuilder("/api/framework/projects/{projectId}/digitization/result/{documentId}").
101 FormatPath("projectId", projectId).
102 FormatPath("documentId", documentId).
103 AddQueryString("api-version", "1").
104 Build()
105 return network.NewHttpGetRequest(uri, c.toAuthorization(c.token), http.Header{})
106}
107
108func (c DuClient) writeMultipartBody(bodyWriter *io.PipeWriter, stream stream.Stream, contentType string, cancel context.CancelCauseFunc) string {
109 formWriter := multipart.NewWriter(bodyWriter)

Callers 1

GetDigitizationResultMethod · 0.95

Calls 6

newUriBuilderMethod · 0.95
toAuthorizationMethod · 0.95
NewHttpGetRequestFunction · 0.92
AddQueryStringMethod · 0.80
FormatPathMethod · 0.80
BuildMethod · 0.45

Tested by

no test coverage detected