POST api/NTNonInjury/DeleteDocument
Request Information
URI Parameters
None.
Body Parameters
NonInjuryDocumentDTOName | Description | Type | Additional information |
---|---|---|---|
RecordID | globally unique identifier |
None. |
|
EntityID | string |
String length: inclusive between 0 and 50 |
|
EntityTypeID | integer |
None. |
|
DocTypeID | integer |
None. |
|
DocumentTypeName | string |
String length: inclusive between 0 and 50 |
|
DocTypeDescription | string |
String length: inclusive between 0 and 200 |
|
DocumentName | string |
String length: inclusive between 0 and 50 |
|
DocumentTypeDetail | string |
String length: inclusive between 0 and 100 |
|
CaseNumber | integer |
None. |
|
FilePath | string |
String length: inclusive between 0 and 200 |
|
FileName | string |
String length: inclusive between 0 and 50 |
|
UserID | integer |
None. |
|
FileId | string |
String length: inclusive between 0 and 200 |
|
UserName | string |
String length: inclusive between 0 and 100 |
|
TimeCreated | date |
None. |
|
Notes | string |
String length: inclusive between 0 and 200 |
|
ValidFlag | boolean |
None. |
|
CorporationCode | string |
String length: inclusive between 0 and 10 |
|
RelativeDateTime | string |
String length: inclusive between 0 and 50 |
|
FileByteArray | Collection of byte |
None. |
|
FileExtension | string |
String length: inclusive between 0 and 200 |
|
IsDocumentEdit | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "RecordID": "c4fe4d61-b263-430b-9644-42a209457a8e", "EntityID": "sample string 2", "EntityTypeID": 3, "DocTypeID": 1, "DocumentTypeName": "sample string 4", "DocTypeDescription": "sample string 5", "DocumentName": "sample string 5", "DocumentTypeDetail": "sample string 6", "CaseNumber": 7, "FilePath": "sample string 8", "FileName": "sample string 9", "UserID": 10, "FileId": "sample string 11", "UserName": "sample string 12", "TimeCreated": "2024-11-21T00:29:26.2712519-08:00", "Notes": "sample string 14", "ValidFlag": true, "CorporationCode": "sample string 16", "RelativeDateTime": "sample string 17", "FileByteArray": "QEA=", "FileExtension": "sample string 18", "IsDocumentEdit": true }
application/xml, text/xml
Sample:
<NonInjuryDocumentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.NurseTriage.NonInjury"> <CaseNumber>7</CaseNumber> <CorporationCode>sample string 16</CorporationCode> <DocTypeDescription>sample string 5</DocTypeDescription> <DocTypeID>1</DocTypeID> <DocumentTypeDetail>sample string 6</DocumentTypeDetail> <DocumentTypeName>sample string 4</DocumentTypeName> <EntityID>sample string 2</EntityID> <EntityTypeID>3</EntityTypeID> <FileByteArray>QEA=</FileByteArray> <FileExtension>sample string 18</FileExtension> <FileId>sample string 11</FileId> <FileName>sample string 9</FileName> <FilePath>sample string 8</FilePath> <IsDocumentEdit>true</IsDocumentEdit> <Notes>sample string 14</Notes> <RecordID>c4fe4d61-b263-430b-9644-42a209457a8e</RecordID> <RelativeDateTime>sample string 17</RelativeDateTime> <TimeCreated>2024-11-21T00:29:26.2712519-08:00</TimeCreated> <UserID>10</UserID> <UserName>sample string 12</UserName> <ValidFlag>true</ValidFlag> </NonInjuryDocumentDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfNonInjuryDocumentDTOName | Description | Type | Additional information |
---|---|---|---|
isSuccess | boolean |
None. |
|
message | string |
None. |
|
jsonObj | NonInjuryDocumentDTO |
None. |
|
totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "isSuccess": true, "message": "sample string 2", "jsonObj": { "RecordID": "affcb339-cd7a-4008-9b37-61ee5bfaad74", "EntityID": "sample string 2", "EntityTypeID": 3, "DocTypeID": 1, "DocumentTypeName": "sample string 4", "DocTypeDescription": "sample string 5", "DocumentName": "sample string 5", "DocumentTypeDetail": "sample string 6", "CaseNumber": 7, "FilePath": "sample string 8", "FileName": "sample string 9", "UserID": 10, "FileId": "sample string 11", "UserName": "sample string 12", "TimeCreated": "2024-11-21T00:29:26.2874343-08:00", "Notes": "sample string 14", "ValidFlag": true, "CorporationCode": "sample string 16", "RelativeDateTime": "sample string 17", "FileByteArray": "QEA=", "FileExtension": "sample string 18", "IsDocumentEdit": true }, "totalCount": 3 }
application/xml, text/xml
Sample:
<AsapResponseOfNonInjuryDocumentDTOmhANR0_Pp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common"> <isSuccess>true</isSuccess> <jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.NurseTriage.NonInjury"> <d2p1:CaseNumber>7</d2p1:CaseNumber> <d2p1:CorporationCode>sample string 16</d2p1:CorporationCode> <d2p1:DocTypeDescription>sample string 5</d2p1:DocTypeDescription> <d2p1:DocTypeID>1</d2p1:DocTypeID> <d2p1:DocumentTypeDetail>sample string 6</d2p1:DocumentTypeDetail> <d2p1:DocumentTypeName>sample string 4</d2p1:DocumentTypeName> <d2p1:EntityID>sample string 2</d2p1:EntityID> <d2p1:EntityTypeID>3</d2p1:EntityTypeID> <d2p1:FileByteArray>QEA=</d2p1:FileByteArray> <d2p1:FileExtension>sample string 18</d2p1:FileExtension> <d2p1:FileId>sample string 11</d2p1:FileId> <d2p1:FileName>sample string 9</d2p1:FileName> <d2p1:FilePath>sample string 8</d2p1:FilePath> <d2p1:IsDocumentEdit>true</d2p1:IsDocumentEdit> <d2p1:Notes>sample string 14</d2p1:Notes> <d2p1:RecordID>affcb339-cd7a-4008-9b37-61ee5bfaad74</d2p1:RecordID> <d2p1:RelativeDateTime>sample string 17</d2p1:RelativeDateTime> <d2p1:TimeCreated>2024-11-21T00:29:26.2874343-08:00</d2p1:TimeCreated> <d2p1:UserID>10</d2p1:UserID> <d2p1:UserName>sample string 12</d2p1:UserName> <d2p1:ValidFlag>true</d2p1:ValidFlag> </jsonObj> <message>sample string 2</message> <totalCount>3</totalCount> </AsapResponseOfNonInjuryDocumentDTOmhANR0_Pp>