Hello Web Services

<back to all web services

ContractFile

The following routes are available for this service:
GET,POST,DELETE/api/client/{ClientId}/contracts/{Id}/files/{FileId}
GET,POST/api/client/{ClientId}/contracts/{Id}/files/{FileId}/{Attachment}

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/oneway/ContractFile HTTP/1.1 
Host: scanning.modernekonomi.se 
Content-Type: application/xml
Content-Length: length

<ContractFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dinumero.Dto.Avtal">
  <_x003C_Attachment_x003E_k__BackingField>false</_x003C_Attachment_x003E_k__BackingField>
  <_x003C_ClientId_x003E_k__BackingField>0</_x003C_ClientId_x003E_k__BackingField>
  <_x003C_FileId_x003E_k__BackingField>0</_x003C_FileId_x003E_k__BackingField>
  <_x003C_Id_x003E_k__BackingField>0</_x003C_Id_x003E_k__BackingField>
</ContractFile>