| Requires any of the roles: | Agent, Administrator |
| POST,OPTIONS | /v1/cad/{AttachmentId}/reprocess |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AttachmentId | path | Guid | No | |
| VersionNo | body | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| AttachmentId | form | Guid | No | |
| FileName | form | string | No | |
| Info | form | CadFileInfo | No | |
| Derivative | form | CadDerivative | No | |
| Companions | form | List<CadCompanion> | No | |
| ApsConnected | form | bool | No | |
| CanRender | form | bool | No | |
| ViewerScriptUrl | form | string | No | |
| ViewerStyleUrl | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CadFileInfoID | form | int | No | |
| AttachmentId | form | Guid | No | |
| VersionNo | form | int | No | |
| FileName | form | string | No | |
| Format | form | string | No | |
| FormatLabel | form | string | No | |
| CadVersion | form | string | No | |
| CadVersionCode | form | string | No | |
| Units | form | string | No | |
| DrawingNumber | form | string | No | |
| Title | form | string | No | |
| LayoutCount | form | int | No | |
| Layouts | form | List<CadLayout> | No | |
| LayerCount | form | int | No | |
| EntityCount | form | int | No | |
| TextChars | form | int | No | |
| ExtractedText | form | string | No | |
| Reader | form | string | No | |
| Status | form | string | No | |
| ErrorText | form | string | No | |
| CreatedAt | form | DateTime? | No | |
| UpdatedAt | form | DateTime? | No | |
| AgeSeconds | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | form | string | No | |
| IsPaperSpace | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CadDerivativeID | form | int | No | |
| AttachmentId | form | Guid | No | |
| VersionNo | form | int | No | |
| Urn | form | string | No | |
| ObjectKey | form | string | No | |
| Status | form | string | No | |
| Progress | form | int | No | |
| StageLabel | form | string | No | |
| Has2d | form | bool | No | |
| Has3d | form | bool | No | |
| HasPdf | form | bool | No | |
| ThumbKey | form | string | No | |
| ThumbUrl | form | string | No | |
| PdfAttachmentId | form | Guid? | No | |
| ErrorText | form | string | No | |
| RequestedBy | form | string | No | |
| RequestedAt | form | DateTime? | No | |
| FinishedAt | form | DateTime? | No | |
| AgeSeconds | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AttachmentId | form | Guid | No | |
| AttachmentName | form | string | No | |
| CreatedDate | form | DateTime? | No | |
| FileSizeInKB | form | double? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/cad/{AttachmentId}/reprocess HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"AttachmentId":"00000000000000000000000000000000","VersionNo":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"AttachmentId":"00000000000000000000000000000000","FileName":"String","Info":{"CadFileInfoID":0,"AttachmentId":"00000000000000000000000000000000","VersionNo":0,"FileName":"String","Format":"String","FormatLabel":"String","CadVersion":"String","CadVersionCode":"String","Units":"String","DrawingNumber":"String","Title":"String","LayoutCount":0,"Layouts":[{"Name":"String","IsPaperSpace":false}],"LayerCount":0,"EntityCount":0,"TextChars":0,"ExtractedText":"String","Reader":"String","Status":"String","ErrorText":"String","CreatedAt":"0001-01-01T00:00:00.0000000","UpdatedAt":"0001-01-01T00:00:00.0000000","AgeSeconds":0},"Derivative":{"CadDerivativeID":0,"AttachmentId":"00000000000000000000000000000000","VersionNo":0,"Urn":"String","ObjectKey":"String","Status":"String","Progress":0,"StageLabel":"String","Has2d":false,"Has3d":false,"HasPdf":false,"ThumbKey":"String","ThumbUrl":"String","PdfAttachmentId":"00000000000000000000000000000000","ErrorText":"String","RequestedBy":"String","RequestedAt":"0001-01-01T00:00:00.0000000","FinishedAt":"0001-01-01T00:00:00.0000000","AgeSeconds":0},"Companions":[{"AttachmentId":"00000000000000000000000000000000","AttachmentName":"String","CreatedDate":"0001-01-01T00:00:00.0000000","FileSizeInKB":0}],"ApsConnected":false,"CanRender":false,"ViewerScriptUrl":"String","ViewerStyleUrl":"String"}