Communications

Allows to get and create communications.

APIDescription
GET api/communications/{id}

Returns information about a communication.

GET api/communications/inbox/subject/{subject}

Returns communications received that matches a given subject.

GET api/communications/inbox/sender/{sender}/{initialDate}/{finalDate}

Returns communications received from a given sender and between a date interval.

GET api/communications/inbox/dates/{initialDate}/{finalDate}

Returns communications received between two given dates.

GET api/communications/sent/subject/{subject}

Returns communications sent that matches a given subject.

GET api/communications/sent/recipient/{recipient}/{initialDate}/{finalDate}

Returns communications sent addressed to a given recipient and between a date interval.

GET api/communications/sent/dates/{initialDate}/{finalDate}

Returns communications sent between two given dates.

GET api/communications/{talkId}/state

Returns the state of a communication.

POST api/communications

Creates a communication.

Documents

Allows to get and create documents.

APIDescription
GET api/documents/{id}

Gets information about a document.

POST api/documents/{id}

Uploads a document.

Contracts

Allows to get and create contracts.

APIDescription
GET api/contracts/{id}

Returns information about a contract.

GET api/contracts/inbox/subject/{subject}

Returns contracts received that matches a given subject.

GET api/contracts/inbox/sender/{sender}?initialDate={initialDate}&finalDate={finalDate}

Returns contracts received from a given sender and between a date interval.

GET api/contracts/inbox/dates/{initialDate}/{finalDate}

Returns contracts received between two given dates.

GET api/contracts/sent/subject/{subject}

Returns contracts sent that matches a given subject.

GET api/contracts/sent/recipient/{recipient}?initialDate={initialDate}&finalDate={finalDate}

Returns contracts sent addressed to a given recipient and between a date interval.

GET api/contracts/sent/dates/{initialDate}/{finalDate}

Returns contracts sent between two given dates.

GET api/contracts/{talkId}/state

Returns the state of a contract.

POST api/contracts

Creates a contract.