Hello Web Services

<back to all web services

AttachedFileUpdatePermissionsRequest

The following routes are available for this service:
GET,POST/api/attachedfiles/{Id}/permissions

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/AttachedFileUpdatePermissionsRequest HTTP/1.1 
Host: scanning.modernekonomi.se 
Content-Type: application/xml
Content-Length: length

<AttachedFileUpdatePermissionsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dinumero.Dto.AttachedFile">
  <Id>00000000-0000-0000-0000-000000000000</Id>
  <IsPermissionInherited>false</IsPermissionInherited>
  <IsPrivate>None</IsPrivate>
  <Permission>
    <_x003C_Items_x003E_k__BackingField i:nil="true" />
  </Permission>
</AttachedFileUpdatePermissionsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AttachedFileWithPermissionsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dinumero.Dto.AttachedFile">
  <_x003C_CreatedBy_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/Dinumero.Dto.Authorization">
    <d2p1:_x003C_Email_x003E_k__BackingField>String</d2p1:_x003C_Email_x003E_k__BackingField>
    <d2p1:_x003C_FullName_x003E_k__BackingField>String</d2p1:_x003C_FullName_x003E_k__BackingField>
    <d2p1:_x003C_Id_x003E_k__BackingField>0</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_UniqueId_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</d2p1:_x003C_UniqueId_x003E_k__BackingField>
    <d2p1:_x003C_UserName_x003E_k__BackingField>String</d2p1:_x003C_UserName_x003E_k__BackingField>
  </_x003C_CreatedBy_x003E_k__BackingField>
  <_x003C_Created_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_Created_x003E_k__BackingField>
  <_x003C_FakturaId_x003E_k__BackingField>0</_x003C_FakturaId_x003E_k__BackingField>
  <_x003C_FileName_x003E_k__BackingField>String</_x003C_FileName_x003E_k__BackingField>
  <_x003C_Id_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</_x003C_Id_x003E_k__BackingField>
  <_x003C_IsPermissionInherited_x003E_k__BackingField>false</_x003C_IsPermissionInherited_x003E_k__BackingField>
  <_x003C_IsPrivate_x003E_k__BackingField>None</_x003C_IsPrivate_x003E_k__BackingField>
  <_x003C_ParentId_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</_x003C_ParentId_x003E_k__BackingField>
  <_x003C_Size_x003E_k__BackingField>0</_x003C_Size_x003E_k__BackingField>
  <_x003C_Status_x003E_k__BackingField>Normal</_x003C_Status_x003E_k__BackingField>
  <_x003C_Type_x003E_k__BackingField>SupplierInvoiceAttachment</_x003C_Type_x003E_k__BackingField>
  <_x003C_Permissions_x003E_k__BackingField>
    <_x003C_Items_x003E_k__BackingField i:nil="true" />
  </_x003C_Permissions_x003E_k__BackingField>
</AttachedFileWithPermissionsDto>