Security
This controller works under the system security rules and constraints.
For more details, refer to the Authentication section
Note
The following guidelines are intended to illustrate the features and features of this Web API controller.
Aliases
This controller can be invoked by other names besides the default one.
This means that, referring to the routing grammar ({schema}://{host}/api/{version}/{controller}/{details}/{action}/{id}?{querystring}) it is possible to use a different fragment for the {controller} component.
Below is the list of these aliases for the fragment {controller}, sorted by suggested preference of use.
| Alias | Path |
|---|---|
| Contracts | /api/v1/Contracts |
| Contract | /api/v1/Contract |
Authentication
JWT Token
In order to invoke the REST API, it is necessary to obtain an authentication token via the appropriate service /Auth/Login
For more details, please see the appropriate section of the documentations.
Bearer Authentication
Bearer authentication (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens.
For more details, please see the appropriate section of the documentations.
Identification of the calling application
Some of the REST API functions can only be used if (in addition to proper user authentication) a declaration of the calling application is also performed.
For more details, please see the appropriate section of the documentations.
Actions & Paths
These are the REST actions that can be performed via the Web API infrastructure.
The actions are grouped by "topic".
Click on a "topic" to view the different actions contained in it.
Each action corresponds to a method in the class of the Web API controller, and a set of routing paths that can be used to invoke it.
GET: /api/v1/Contract/
Routing template:
/api/{version}/Contract/
Produces:
- HTTP 200: Int64 as application/json
- HTTP 200: Int64 as text/json
- HTTP 200: Int64 as application/json;IEEE754Compatible=false
- HTTP 200: Int64 as application/json;IEEE754Compatible=true
- HTTP 200: Int64 as application/xml
- HTTP 200: Int64 as text/plain
- HTTP 200: Int64 as application/octet-stream
Response: 200 (Success) ApiActionResult
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
DELETE: /api/v1/Contract/{id}
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: Boolean as application/json
- HTTP 200: Boolean as text/json
- HTTP 200: Boolean as application/json;IEEE754Compatible=false
- HTTP 200: Boolean as application/json;IEEE754Compatible=true
- HTTP 200: Boolean as application/xml
- HTTP 200: Boolean as text/plain
- HTTP 200: Boolean as application/octet-stream
Response: 200 (Success) Boolean
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: ContractDTO as application/json
- HTTP 200: ContractDTO as text/json
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=false
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=true
- HTTP 200: ContractDTO as application/xml
- HTTP 200: ContractDTO as text/plain
- HTTP 200: ContractDTO as application/octet-stream
Response: 200 (Success) ContractDTO
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/Archive
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
| template | string | NO | Query |
|
| request | ContractPrintableRequest | NO | Query |
|
Produces:
- HTTP 400: integer as application/json
- HTTP 400: integer as text/json
- HTTP 400: integer as application/json;IEEE754Compatible=false
- HTTP 400: integer as application/json;IEEE754Compatible=true
- HTTP 400: integer as application/xml
- HTTP 400: integer as text/plain
- HTTP 400: integer as application/octet-stream
- HTTP 400: integer as text/xml
Response: 400 (Bad Request) integer
Samples
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/AsDataProduct
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | NO | Query |
|
| includeExplicitlyDeclaredVirtualProperties | boolean | NO | Query |
|
| id | string | YES | Path |
|
Produces:
- HTTP 200: ContractDTO as application/json
- HTTP 200: ContractDTO as text/json
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=false
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=true
- HTTP 200: ContractDTO as application/xml
- HTTP 200: ContractDTO as text/plain
- HTTP 200: ContractDTO as application/octet-stream
Response: 200 (Success) ContractDTO
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/Documents
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: StorageDTO as application/json
- HTTP 200: StorageDTO as text/json
- HTTP 200: StorageDTO as application/json;IEEE754Compatible=false
- HTTP 200: StorageDTO as application/json;IEEE754Compatible=true
- HTTP 200: StorageDTO as application/xml
- HTTP 200: StorageDTO as text/plain
- HTTP 200: StorageDTO as application/octet-stream
Response: 200 (Success) StorageDTO
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/Documents/Count
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: Int64 as application/json
- HTTP 200: Int64 as text/json
- HTTP 200: Int64 as application/json;IEEE754Compatible=false
- HTTP 200: Int64 as application/json;IEEE754Compatible=true
- HTTP 200: Int64 as application/xml
- HTTP 200: Int64 as text/plain
- HTTP 200: Int64 as application/octet-stream
Response: 200 (Success) Int64
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/DocumentsIds
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: Int64 as application/json
- HTTP 200: Int64 as text/json
- HTTP 200: Int64 as application/json;IEEE754Compatible=false
- HTTP 200: Int64 as application/json;IEEE754Compatible=true
- HTTP 200: Int64 as application/xml
- HTTP 200: Int64 as text/plain
- HTTP 200: Int64 as application/octet-stream
Response: 200 (Success) Int64
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/Exists
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: Boolean as application/json
- HTTP 200: Boolean as text/json
- HTTP 200: Boolean as application/json;IEEE754Compatible=false
- HTTP 200: Boolean as application/json;IEEE754Compatible=true
- HTTP 200: Boolean as application/xml
- HTTP 200: Boolean as text/plain
- HTTP 200: Boolean as application/octet-stream
Response: 200 (Success) Boolean
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/FreeFields
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: FreeFieldsBOItemDTO as application/json
- HTTP 200: FreeFieldsBOItemDTO as text/json
- HTTP 200: FreeFieldsBOItemDTO as application/json;IEEE754Compatible=false
- HTTP 200: FreeFieldsBOItemDTO as application/json;IEEE754Compatible=true
- HTTP 200: FreeFieldsBOItemDTO as application/xml
- HTTP 200: FreeFieldsBOItemDTO as text/plain
- HTTP 200: FreeFieldsBOItemDTO as application/octet-stream
Response: 200 (Success) FreeFieldsBOItemDTO
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/GetDownloadUrl
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
| template | string | NO | Query |
|
| request | ContractPrintableRequest | NO | Query |
|
Produces:
- HTTP 400: string as application/json
- HTTP 400: string as text/json
- HTTP 400: string as application/json;IEEE754Compatible=false
- HTTP 400: string as application/json;IEEE754Compatible=true
- HTTP 400: string as application/xml
- HTTP 400: string as text/plain
- HTTP 400: string as application/octet-stream
- HTTP 400: string as text/xml
Response: 400 (Bad Request) string
Samples
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/GetFull
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: ContractDTO as application/json
- HTTP 200: ContractDTO as text/json
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=false
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=true
- HTTP 200: ContractDTO as application/xml
- HTTP 200: ContractDTO as text/plain
- HTTP 200: ContractDTO as application/octet-stream
Response: 200 (Success) ContractDTO
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/GetHash
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: String as application/json
- HTTP 200: String as text/json
- HTTP 200: String as application/json;IEEE754Compatible=false
- HTTP 200: String as application/json;IEEE754Compatible=true
- HTTP 200: String as application/xml
- HTTP 200: String as text/plain
- HTTP 200: String as application/octet-stream
Response: 200 (Success) String
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/GetPostDownloadUrl
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
| template | string | NO | Query |
|
| request | ContractPrintableRequest | NO | Query |
|
Produces:
- HTTP 400: string as application/json
- HTTP 400: string as text/json
- HTTP 400: string as application/json;IEEE754Compatible=false
- HTTP 400: string as application/json;IEEE754Compatible=true
- HTTP 400: string as application/xml
- HTTP 400: string as text/plain
- HTTP 400: string as application/octet-stream
- HTTP 400: string as text/xml
Response: 400 (Bad Request) string
Samples
Download Postman collection sample
Try this !
POST: /api/v1/Contract/{id}/HtmlPreview
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
| template | string | NO | Query |
|
| request | ContractPrintableRequest | NO | Query |
|
Produces:
- HTTP 200: String as application/json
- HTTP 200: String as text/json
- HTTP 200: String as application/json;IEEE754Compatible=false
- HTTP 200: String as application/json;IEEE754Compatible=true
- HTTP 200: String as application/xml
- HTTP 200: String as text/plain
- HTTP 200: String as application/octet-stream
Response: 200 (Success) String
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/Humanize
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: ContractDTO as application/json
- HTTP 200: ContractDTO as text/json
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=false
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=true
- HTTP 200: ContractDTO as application/xml
- HTTP 200: ContractDTO as text/plain
- HTTP 200: ContractDTO as application/octet-stream
Response: 200 (Success) ContractDTO
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
DELETE: /api/v1/Contract/{id}/Photo
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Response:
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/Photo
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Response:
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
POST: /api/v1/Contract/{id}/Photo
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Consumes:
- multipart/form-data
Response:
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/Preview
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
| page | integer | NO | Query |
|
| zoom | integer | NO | Query |
|
| template | string | NO | Query |
|
| request | ContractPrintableRequest | NO | Query |
|
Response:
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
POST: /api/v1/Contract/{id}/Previews
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
| template | string | NO | Query |
|
| request | ContractPrintableRequest | NO | Query |
|
Produces:
- HTTP 400: array of FilePreview as application/json
- HTTP 400: array of FilePreview as text/json
- HTTP 400: array of FilePreview as application/json;IEEE754Compatible=false
- HTTP 400: array of FilePreview as application/json;IEEE754Compatible=true
- HTTP 400: array of FilePreview as application/xml
- HTTP 400: array of FilePreview as text/plain
- HTTP 400: array of FilePreview as application/octet-stream
- HTTP 400: array of FilePreview as text/xml
Response: 400 (Bad Request) array of FilePreview
Samples
Download Postman collection sample
Try this !
PUT: /api/v1/Contract/{id}/Recent
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
| recentRouteType | RecentRouteType | NO | Query |
|
Produces:
- HTTP 400: boolean as application/json
- HTTP 400: boolean as text/json
- HTTP 400: boolean as application/json;IEEE754Compatible=false
- HTTP 400: boolean as application/json;IEEE754Compatible=true
- HTTP 400: boolean as application/xml
- HTTP 400: boolean as text/plain
- HTTP 400: boolean as application/octet-stream
- HTTP 400: boolean as text/xml
Response: 400 (Bad Request) boolean
Samples
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/Renewals
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: ContractBOContractRenewalsDTO as application/json
- HTTP 200: ContractBOContractRenewalsDTO as text/json
- HTTP 200: ContractBOContractRenewalsDTO as application/json;IEEE754Compatible=false
- HTTP 200: ContractBOContractRenewalsDTO as application/json;IEEE754Compatible=true
- HTTP 200: ContractBOContractRenewalsDTO as application/xml
- HTTP 200: ContractBOContractRenewalsDTO as text/plain
- HTTP 200: ContractBOContractRenewalsDTO as application/octet-stream
Response: 200 (Success) ContractBOContractRenewalsDTO
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/Renewals/Count
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: Int64 as application/json
- HTTP 200: Int64 as text/json
- HTTP 200: Int64 as application/json;IEEE754Compatible=false
- HTTP 200: Int64 as application/json;IEEE754Compatible=true
- HTTP 200: Int64 as application/xml
- HTTP 200: Int64 as text/plain
- HTTP 200: Int64 as application/octet-stream
Response: 200 (Success) Int64
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/RenewalsIds
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: Int64 as application/json
- HTTP 200: Int64 as text/json
- HTTP 200: Int64 as application/json;IEEE754Compatible=false
- HTTP 200: Int64 as application/json;IEEE754Compatible=true
- HTTP 200: Int64 as application/xml
- HTTP 200: Int64 as text/plain
- HTTP 200: Int64 as application/octet-stream
Response: 200 (Success) Int64
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/Sections
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: ContractBOContractSectionsDTO as application/json
- HTTP 200: ContractBOContractSectionsDTO as text/json
- HTTP 200: ContractBOContractSectionsDTO as application/json;IEEE754Compatible=false
- HTTP 200: ContractBOContractSectionsDTO as application/json;IEEE754Compatible=true
- HTTP 200: ContractBOContractSectionsDTO as application/xml
- HTTP 200: ContractBOContractSectionsDTO as text/plain
- HTTP 200: ContractBOContractSectionsDTO as application/octet-stream
Response: 200 (Success) ContractBOContractSectionsDTO
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/Sections/Count
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: Int64 as application/json
- HTTP 200: Int64 as text/json
- HTTP 200: Int64 as application/json;IEEE754Compatible=false
- HTTP 200: Int64 as application/json;IEEE754Compatible=true
- HTTP 200: Int64 as application/xml
- HTTP 200: Int64 as text/plain
- HTTP 200: Int64 as application/octet-stream
Response: 200 (Success) Int64
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/SectionsIds
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: Int64 as application/json
- HTTP 200: Int64 as text/json
- HTTP 200: Int64 as application/json;IEEE754Compatible=false
- HTTP 200: Int64 as application/json;IEEE754Compatible=true
- HTTP 200: Int64 as application/xml
- HTTP 200: Int64 as text/plain
- HTTP 200: Int64 as application/octet-stream
Response: 200 (Success) Int64
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/Services
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: ContractBOContractTypeOfServiceDTO as application/json
- HTTP 200: ContractBOContractTypeOfServiceDTO as text/json
- HTTP 200: ContractBOContractTypeOfServiceDTO as application/json;IEEE754Compatible=false
- HTTP 200: ContractBOContractTypeOfServiceDTO as application/json;IEEE754Compatible=true
- HTTP 200: ContractBOContractTypeOfServiceDTO as application/xml
- HTTP 200: ContractBOContractTypeOfServiceDTO as text/plain
- HTTP 200: ContractBOContractTypeOfServiceDTO as application/octet-stream
Response: 200 (Success) ContractBOContractTypeOfServiceDTO
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/Services/Count
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: Int64 as application/json
- HTTP 200: Int64 as text/json
- HTTP 200: Int64 as application/json;IEEE754Compatible=false
- HTTP 200: Int64 as application/json;IEEE754Compatible=true
- HTTP 200: Int64 as application/xml
- HTTP 200: Int64 as text/plain
- HTTP 200: Int64 as application/octet-stream
Response: 200 (Success) Int64
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/{id}/ServicesIds
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| id | integer | YES | Path |
|
Produces:
- HTTP 200: Int64 as application/json
- HTTP 200: Int64 as text/json
- HTTP 200: Int64 as application/json;IEEE754Compatible=false
- HTTP 200: Int64 as application/json;IEEE754Compatible=true
- HTTP 200: Int64 as application/xml
- HTTP 200: Int64 as text/plain
- HTTP 200: Int64 as application/octet-stream
Response: 200 (Success) Int64
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
POST: /api/v1/Contract/CompanyChanged
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| companyId | integer | NO | Query |
|
Response:
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/Count
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| filter | string | NO | Query |
|
Produces:
- HTTP 200: Int32 as application/json
- HTTP 200: Int32 as text/json
- HTTP 200: Int32 as application/json;IEEE754Compatible=false
- HTTP 200: Int32 as application/json;IEEE754Compatible=true
- HTTP 200: Int32 as application/xml
- HTTP 200: Int32 as text/plain
- HTTP 200: Int32 as application/octet-stream
Response: 200 (Success) Int32
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
POST: /api/v1/Contract/CreateOrUpdate
Routing template:
/api/{version}/Contract/CreateOrUpdate
Consumes:
- application/json
- application/json;IEEE754Compatible=false
- application/json;IEEE754Compatible=true
- application/xml
- text/plain
- application/json-patch+json
- text/json
- application/*+json
Produces:
- HTTP 200: Int64 as application/json
- HTTP 200: Int64 as text/json
- HTTP 200: Int64 as application/json;IEEE754Compatible=false
- HTTP 200: Int64 as application/json;IEEE754Compatible=true
- HTTP 200: Int64 as application/xml
- HTTP 200: Int64 as text/plain
- HTTP 200: Int64 as application/octet-stream
Response: 200 (Success) ApiActionResult
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
DELETE: /api/v1/Contract/DeleteByExternalReference
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| externalReference | string | NO | Query |
|
Produces:
- HTTP 200: Boolean as application/json
- HTTP 200: Boolean as text/json
- HTTP 200: Boolean as application/json;IEEE754Compatible=false
- HTTP 200: Boolean as application/json;IEEE754Compatible=true
- HTTP 200: Boolean as application/xml
- HTTP 200: Boolean as text/plain
- HTTP 200: Boolean as application/octet-stream
Response: 200 (Success) Boolean
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/DeleteByExternalReference
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| externalReference | string | NO | Query |
|
Produces:
- HTTP 200: Boolean as application/json
- HTTP 200: Boolean as text/json
- HTTP 200: Boolean as application/json;IEEE754Compatible=false
- HTTP 200: Boolean as application/json;IEEE754Compatible=true
- HTTP 200: Boolean as application/xml
- HTTP 200: Boolean as text/plain
- HTTP 200: Boolean as application/octet-stream
Response: 200 (Success) Boolean
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
POST: /api/v1/Contract/GetAddressString
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| crossId | integer | NO | Query |
|
| selValue | string | NO | Query |
|
Produces:
- HTTP 200: string as application/json
- HTTP 200: string as text/json
- HTTP 200: string as application/json;IEEE754Compatible=false
- HTTP 200: string as application/json;IEEE754Compatible=true
- HTTP 200: string as application/xml
- HTTP 200: string as text/plain
- HTTP 200: string as application/octet-stream
- HTTP 200: string as text/xml
Response: 200 (Success) string
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/GetBoDeleteModes
Routing template:
/api/{version}/Contract/GetBoDeleteModes
Produces:
- HTTP 200: BoDeleteMode as application/json
- HTTP 200: BoDeleteMode as text/json
- HTTP 200: BoDeleteMode as application/json;IEEE754Compatible=false
- HTTP 200: BoDeleteMode as application/json;IEEE754Compatible=true
- HTTP 200: BoDeleteMode as application/xml
- HTTP 200: BoDeleteMode as text/plain
- HTTP 200: BoDeleteMode as application/octet-stream
Response: 200 (Success) array of BoDeleteMode
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/GetByExternalReference
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| externalReference | string | NO | Query |
|
Produces:
- HTTP 200: ContractDTO as application/json
- HTTP 200: ContractDTO as text/json
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=false
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=true
- HTTP 200: ContractDTO as application/xml
- HTTP 200: ContractDTO as text/plain
- HTTP 200: ContractDTO as application/octet-stream
Response: 200 (Success) ContractDTO
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
POST: /api/v1/Contract/GetContractServicesForCaller
Routing template:
/api/{version}/Contract/GetContractServicesForCaller
Consumes:
- application/json
- application/json;IEEE754Compatible=false
- application/json;IEEE754Compatible=true
- application/xml
- text/plain
- application/json-patch+json
- text/json
- application/*+json
Produces:
- HTTP 200: array of IHelperResult as application/json
- HTTP 200: array of IHelperResult as text/json
- HTTP 200: array of IHelperResult as application/json;IEEE754Compatible=false
- HTTP 200: array of IHelperResult as application/json;IEEE754Compatible=true
- HTTP 200: array of IHelperResult as application/xml
- HTTP 200: array of IHelperResult as text/plain
- HTTP 200: array of IHelperResult as application/octet-stream
Response: 200 (Success) array of IHelperResult
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
POST: /api/v1/Contract/GetContractsForCaller
Routing template:
/api/{version}/Contract/GetContractsForCaller
Consumes:
- application/json
- application/json;IEEE754Compatible=false
- application/json;IEEE754Compatible=true
- application/xml
- text/plain
- application/json-patch+json
- text/json
- application/*+json
Produces:
- HTTP 200: array of IHelperResult as application/json
- HTTP 200: array of IHelperResult as text/json
- HTTP 200: array of IHelperResult as application/json;IEEE754Compatible=false
- HTTP 200: array of IHelperResult as application/json;IEEE754Compatible=true
- HTTP 200: array of IHelperResult as application/xml
- HTTP 200: array of IHelperResult as text/plain
- HTTP 200: array of IHelperResult as application/octet-stream
Response: 200 (Success) array of IHelperResult
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/GetDataProductSchema
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| honorAcceptLanguageHeader | boolean | NO | Query |
|
| includeExplicitlyDeclaredVirtualProperties | boolean | NO | Query |
|
Produces:
- HTTP 400: dynamic content as application/json
- HTTP 400: dynamic content as text/json
- HTTP 400: dynamic content as application/json;IEEE754Compatible=false
- HTTP 400: dynamic content as application/json;IEEE754Compatible=true
- HTTP 400: dynamic content as application/xml
- HTTP 400: dynamic content as text/plain
- HTTP 400: dynamic content as application/octet-stream
Response: 400 (Bad Request) dynamic content
Samples
Download Postman collection sample
Try this !
GET: /api/v1/Contract/GetIdsByExternalReference
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| externalReference | string | NO | Query |
|
| excludeDeletedItems | boolean | NO | Query |
|
Produces:
- HTTP 200: Int64 as application/json
- HTTP 200: Int64 as text/json
- HTTP 200: Int64 as application/json;IEEE754Compatible=false
- HTTP 200: Int64 as application/json;IEEE754Compatible=true
- HTTP 200: Int64 as application/xml
- HTTP 200: Int64 as text/plain
- HTTP 200: Int64 as application/octet-stream
Response: 200 (Success) Int64
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
POST: /api/v1/Contract/GetIdsMappedByExternalReference
Routing template:
/api/{version}/Contract/GetIdsMappedByExternalReference
Consumes:
- application/json
- application/json;IEEE754Compatible=false
- application/json;IEEE754Compatible=true
- application/xml
- text/plain
- application/json-patch+json
- text/json
- application/*+json
- text/xml
- application/*+xml
Produces:
- HTTP 200: Int64 as application/json
- HTTP 200: Int64 as text/json
- HTTP 200: Int64 as application/json;IEEE754Compatible=false
- HTTP 200: Int64 as application/json;IEEE754Compatible=true
- HTTP 200: Int64 as application/xml
- HTTP 200: Int64 as text/plain
- HTTP 200: Int64 as application/octet-stream
Response: 200 (Success) ApiActionResult
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
POST: /api/v1/Contract/GetIdsNotMappedByExternalReference
Routing template:
/api/{version}/Contract/GetIdsNotMappedByExternalReference
Consumes:
- application/json
- application/json;IEEE754Compatible=false
- application/json;IEEE754Compatible=true
- application/xml
- text/plain
- application/json-patch+json
- text/json
- application/*+json
- text/xml
- application/*+xml
Produces:
- HTTP 200: Int64 as application/json
- HTTP 200: Int64 as text/json
- HTTP 200: Int64 as application/json;IEEE754Compatible=false
- HTTP 200: Int64 as application/json;IEEE754Compatible=true
- HTTP 200: Int64 as application/xml
- HTTP 200: Int64 as text/plain
- HTTP 200: Int64 as application/octet-stream
Response: 200 (Success) ApiActionResult
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
POST: /api/v1/Contract/GetItemsMappedByExternalReference
Routing template:
/api/{version}/Contract/GetItemsMappedByExternalReference
Consumes:
- application/json
- application/json;IEEE754Compatible=false
- application/json;IEEE754Compatible=true
- application/xml
- text/plain
- application/json-patch+json
- text/json
- application/*+json
- text/xml
- application/*+xml
Produces:
- HTTP 200: ContractDTO as application/json
- HTTP 200: ContractDTO as text/json
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=false
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=true
- HTTP 200: ContractDTO as application/xml
- HTTP 200: ContractDTO as text/plain
- HTTP 200: ContractDTO as application/octet-stream
Response: 200 (Success) ApiActionResult
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
POST: /api/v1/Contract/GetItemsNotMappedByExternalReference
Routing template:
/api/{version}/Contract/GetItemsNotMappedByExternalReference
Consumes:
- application/json
- application/json;IEEE754Compatible=false
- application/json;IEEE754Compatible=true
- application/xml
- text/plain
- application/json-patch+json
- text/json
- application/*+json
- text/xml
- application/*+xml
Produces:
- HTTP 200: ContractDTO as application/json
- HTTP 200: ContractDTO as text/json
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=false
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=true
- HTTP 200: ContractDTO as application/xml
- HTTP 200: ContractDTO as text/plain
- HTTP 200: ContractDTO as application/octet-stream
Response: 200 (Success) ApiActionResult
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/GetNewInstance
Routing template:
/api/{version}/Contract/GetNewInstance
Produces:
- HTTP 200: ContractDTO as application/json
- HTTP 200: ContractDTO as text/json
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=false
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=true
- HTTP 200: ContractDTO as application/xml
- HTTP 200: ContractDTO as text/plain
- HTTP 200: ContractDTO as application/octet-stream
Response: 200 (Success) ContractDTO
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/GetPolymorphicSchema
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| serializePropertiesAsDictionary | boolean | NO | Query |
|
| honorAcceptLanguageHeader | boolean | NO | Query |
|
| generateSample | boolean | NO | Query |
|
| sampleGenerationStrategy | SampleGenerationStrategy | NO | Query |
|
| useExtensions | boolean | NO | Query |
|
| includeExplicitlyDeclaredVirtualProperties | boolean | NO | Query |
|
Produces:
- HTTP 400: dynamic content as application/json
- HTTP 400: dynamic content as text/json
- HTTP 400: dynamic content as application/json;IEEE754Compatible=false
- HTTP 400: dynamic content as application/json;IEEE754Compatible=true
- HTTP 400: dynamic content as application/xml
- HTTP 400: dynamic content as text/plain
- HTTP 400: dynamic content as application/octet-stream
Response: 400 (Bad Request) dynamic content
Samples
Download Postman collection sample
Try this !
GET: /api/v1/Contract/GetPolymorphicStandardSchema
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| honorAcceptLanguageHeader | boolean | NO | Query |
|
| includeExplicitlyDeclaredVirtualProperties | boolean | NO | Query |
|
| wrapAsHermesCloudEvent | boolean | NO | Query |
|
| schemaVersion | StandardSchemaVersion | NO | Query |
|
Produces:
- HTTP 400: dynamic content as application/json
- HTTP 400: dynamic content as text/json
- HTTP 400: dynamic content as application/json;IEEE754Compatible=false
- HTTP 400: dynamic content as application/json;IEEE754Compatible=true
- HTTP 400: dynamic content as application/xml
- HTTP 400: dynamic content as text/plain
- HTTP 400: dynamic content as application/octet-stream
Response: 400 (Bad Request) dynamic content
Samples
Download Postman collection sample
Try this !
GET: /api/v1/Contract/GetSample
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| force | boolean | NO | Query |
|
| sampleGenerationStrategy | SampleGenerationStrategy | NO | Query |
|
| useExtensions | boolean | NO | Query |
|
Produces:
- HTTP 200: JObject as application/json
- HTTP 200: JObject as text/json
- HTTP 200: JObject as application/json;IEEE754Compatible=false
- HTTP 200: JObject as application/json;IEEE754Compatible=true
- HTTP 200: JObject as application/xml
- HTTP 200: JObject as text/plain
- HTTP 200: JObject as application/octet-stream
Response: 200 (Success) JObject
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/GetStandardSchema
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| honorAcceptLanguageHeader | boolean | NO | Query |
|
Produces:
- HTTP 400: dynamic content as application/json
- HTTP 400: dynamic content as text/json
- HTTP 400: dynamic content as application/json;IEEE754Compatible=false
- HTTP 400: dynamic content as application/json;IEEE754Compatible=true
- HTTP 400: dynamic content as application/xml
- HTTP 400: dynamic content as text/plain
- HTTP 400: dynamic content as application/octet-stream
Response: 400 (Bad Request) dynamic content
Samples
Download Postman collection sample
Try this !
GET: /api/v1/Contract/GetSwagger
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| honorAcceptLanguageHeader | boolean | NO | Query |
|
| bestPracticeOnly | boolean | NO | Query |
|
Produces:
- HTTP 200: dynamic content as application/json
- HTTP 200: dynamic content as text/json
- HTTP 200: dynamic content as application/json;IEEE754Compatible=false
- HTTP 200: dynamic content as application/json;IEEE754Compatible=true
- HTTP 200: dynamic content as application/xml
- HTTP 200: dynamic content as text/plain
- HTTP 200: dynamic content as application/octet-stream
Response: 200 (Success) dynamic content
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/LinkedCompanyContracts
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| companyId | integer | NO | Query |
|
Produces:
- HTTP 200: IHelperResult as application/json
- HTTP 200: IHelperResult as text/json
- HTTP 200: IHelperResult as application/json;IEEE754Compatible=false
- HTTP 200: IHelperResult as application/json;IEEE754Compatible=true
- HTTP 200: IHelperResult as application/xml
- HTTP 200: IHelperResult as text/plain
- HTTP 200: IHelperResult as application/octet-stream
Response: 200 (Success) IHelperResult
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
POST: /api/v1/Contract/MapByExternalReference
Routing template:
/api/{version}/Contract/MapByExternalReference
Consumes:
- application/json
- application/json;IEEE754Compatible=false
- application/json;IEEE754Compatible=true
- application/xml
- text/plain
- application/json-patch+json
- text/json
- application/*+json
- text/xml
- application/*+xml
Response:
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
DELETE: /api/v1/Contract/MultipleDelete
Routing template:
/api/{version}/Contract/MultipleDelete
Consumes:
- application/json
- application/json;IEEE754Compatible=false
- application/json;IEEE754Compatible=true
- application/xml
- text/plain
- application/json-patch+json
- text/json
- application/*+json
- text/xml
- application/*+xml
Produces:
- HTTP 200: DeleteItemResult as application/json
- HTTP 200: DeleteItemResult as text/json
- HTTP 200: DeleteItemResult as application/json;IEEE754Compatible=false
- HTTP 200: DeleteItemResult as application/json;IEEE754Compatible=true
- HTTP 200: DeleteItemResult as application/xml
- HTTP 200: DeleteItemResult as text/plain
- HTTP 200: DeleteItemResult as application/octet-stream
Response: 200 (Success) ApiActionResult
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
POST: /api/v1/Contract/MultipleDelete
Routing template:
/api/{version}/Contract/MultipleDelete
Consumes:
- application/json
- application/json;IEEE754Compatible=false
- application/json;IEEE754Compatible=true
- application/xml
- text/plain
- application/json-patch+json
- text/json
- application/*+json
- text/xml
- application/*+xml
Produces:
- HTTP 200: DeleteItemResult as application/json
- HTTP 200: DeleteItemResult as text/json
- HTTP 200: DeleteItemResult as application/json;IEEE754Compatible=false
- HTTP 200: DeleteItemResult as application/json;IEEE754Compatible=true
- HTTP 200: DeleteItemResult as application/xml
- HTTP 200: DeleteItemResult as text/plain
- HTTP 200: DeleteItemResult as application/octet-stream
Response: 200 (Success) ApiActionResult
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
POST: /api/v1/Contract/MultipleExists
Routing template:
/api/{version}/Contract/MultipleExists
Consumes:
- application/json
- application/json;IEEE754Compatible=false
- application/json;IEEE754Compatible=true
- application/xml
- text/plain
- application/json-patch+json
- text/json
- application/*+json
- text/xml
- application/*+xml
Produces:
- HTTP 200: ExistsItemResult as application/json
- HTTP 200: ExistsItemResult as text/json
- HTTP 200: ExistsItemResult as application/json;IEEE754Compatible=false
- HTTP 200: ExistsItemResult as application/json;IEEE754Compatible=true
- HTTP 200: ExistsItemResult as application/xml
- HTTP 200: ExistsItemResult as text/plain
- HTTP 200: ExistsItemResult as application/octet-stream
Response: 200 (Success) ApiActionResult
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
POST: /api/v1/Contract/MultipleGet
Routing template:
/api/{version}/Contract/MultipleGet
Consumes:
- application/json
- application/json;IEEE754Compatible=false
- application/json;IEEE754Compatible=true
- application/xml
- text/plain
- application/json-patch+json
- text/json
- application/*+json
- text/xml
- application/*+xml
Produces:
- HTTP 200: GetItemResult`1 as application/json
- HTTP 200: GetItemResult`1 as text/json
- HTTP 200: GetItemResult`1 as application/json;IEEE754Compatible=false
- HTTP 200: GetItemResult`1 as application/json;IEEE754Compatible=true
- HTTP 200: GetItemResult`1 as application/xml
- HTTP 200: GetItemResult`1 as text/plain
- HTTP 200: GetItemResult`1 as application/octet-stream
Response: 200 (Success) ApiActionResult[]>
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/PrintableFields
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| includeFull | boolean | NO | Query |
|
| includeNesting | boolean | NO | Query |
|
Produces:
- HTTP 400: array of LiquidStruct as application/json
- HTTP 400: array of LiquidStruct as text/json
- HTTP 400: array of LiquidStruct as application/json;IEEE754Compatible=false
- HTTP 400: array of LiquidStruct as application/json;IEEE754Compatible=true
- HTTP 400: array of LiquidStruct as application/xml
- HTTP 400: array of LiquidStruct as text/plain
- HTTP 400: array of LiquidStruct as application/octet-stream
Response: 400 (Bad Request) array of LiquidStruct
Samples
Download Postman collection sample
Try this !
POST: /api/v1/Contract/PrintHtml
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| template | string | NO | Query |
|
| addHeaderAndFooter | boolean | NO | Query |
|
| request | ContractPrintableRequest | NO | Query |
|
Consumes:
- application/json
- application/json;IEEE754Compatible=false
- application/json;IEEE754Compatible=true
- application/xml
- text/plain
- application/json-patch+json
- text/json
- application/*+json
Response:
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
POST: /api/v1/Contract/ResetExternalReferences
Routing template:
/api/{version}/Contract/ResetExternalReferences
Consumes:
- application/json
- application/json;IEEE754Compatible=false
- application/json;IEEE754Compatible=true
- application/xml
- text/plain
- application/json-patch+json
- text/json
- application/*+json
- text/xml
- application/*+xml
Response:
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/Search
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| filter | string | NO | Query |
|
| orderBy | string | NO | Query |
|
| skip | integer | NO | Query |
|
| top | integer | NO | Query |
|
| select | string | NO | Query |
|
Produces:
- HTTP 200: ContractDTO as application/json
- HTTP 200: ContractDTO as text/json
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=false
- HTTP 200: ContractDTO as application/json;IEEE754Compatible=true
- HTTP 200: ContractDTO as application/xml
- HTTP 200: ContractDTO as text/plain
- HTTP 200: ContractDTO as application/octet-stream
Response: 200 (Success) ContractDTO
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/SearchIds
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| filter | string | NO | Query |
|
| orderBy | string | NO | Query |
|
| skip | integer | NO | Query |
|
| top | integer | NO | Query |
|
Produces:
- HTTP 200: Int64 as application/json
- HTTP 200: Int64 as text/json
- HTTP 200: Int64 as application/json;IEEE754Compatible=false
- HTTP 200: Int64 as application/json;IEEE754Compatible=true
- HTTP 200: Int64 as application/xml
- HTTP 200: Int64 as text/plain
- HTTP 200: Int64 as application/octet-stream
Response: 200 (Success) Int64
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/SearchIdsByExternalReference
Parameters:
| Name | Type | Required | In | Features |
|---|---|---|---|---|
| externalReference | string | NO | Query |
|
Produces:
- HTTP 200: Int64 as application/json
- HTTP 200: Int64 as text/json
- HTTP 200: Int64 as application/json;IEEE754Compatible=false
- HTTP 200: Int64 as application/json;IEEE754Compatible=true
- HTTP 200: Int64 as application/xml
- HTTP 200: Int64 as text/plain
- HTTP 200: Int64 as application/octet-stream
Response: 200 (Success) Int64
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
GET: /api/v1/Contract/Templates
Routing template:
/api/{version}/Contract/Templates
Produces:
- HTTP 400: array of Template as application/json
- HTTP 400: array of Template as text/json
- HTTP 400: array of Template as application/json;IEEE754Compatible=false
- HTTP 400: array of Template as application/json;IEEE754Compatible=true
- HTTP 400: array of Template as application/xml
- HTTP 400: array of Template as text/plain
- HTTP 400: array of Template as application/octet-stream
- HTTP 400: array of Template as text/xml
Response: 400 (Bad Request) array of Template
Samples
Download Postman collection sample
Try this !
POST: /api/v1/Contract/UnmapByExternalReference
Routing template:
/api/{version}/Contract/UnmapByExternalReference
Consumes:
- application/json
- application/json;IEEE754Compatible=false
- application/json;IEEE754Compatible=true
- application/xml
- text/plain
- application/json-patch+json
- text/json
- application/*+json
- text/xml
- application/*+xml
Response:
Samples
Download HTTP 200 response sample
Download Postman collection sample
Try this !
Definitions
The following definitions describe the structure of the datamodels involved in the various REST operations that can be performed for this controller.
Some definitions are subjected to polymorphic serialization, and therefore their complete polymorphic scheme is reported.
| Name | Description |
|---|---|
| BoDeleteMode | Bo Delete Mode |
| Boolean | Boolean |
| BusinessObjectType | Business Object Type |
| CatalogDTO | Catalog |
| ConsumptionType | Consumption Type |
| ContractBOContractJobOrderTaskPlannedDTO | Contract BO Contract Job Order Task Planned |
| ContractBOContractRenewalsDTO | Contract BO Contract Renewals |
| ContractBOContractSectionsDTO | Contract BO Contract Sections |
| ContractBOContractTypeOfServiceBOBillingRangeLockDTO | Contract BO Contract Type Of Service BO Billing Range Lock |
| ContractBOContractTypeOfServiceDTO | Contract BO Contract Type Of Service |
| ContractDTO | Contract |
| ContractPrintableRequest | Contract Printable Request |
| ContractServiceConsumptionConfigDTO | Contract Service Consumption Config |
| ContractServicesStatus | Contract Services Status |
| ContractsForCallerRequest | Contracts For Caller Request |
| CRMTables | CRM Tables |
| DeleteItemResult | Delete Item Result |
| ExistsItemResult | Exists Item Result |
| ExternalReferenceDTO | External Reference |
| FileCrossAttributes | File Cross Attributes |
| FileCrossDTO | File Cross |
| FileCrossTypes | File Cross Types |
| FilePreview | File Preview |
| FreeFieldsBOItemDTO | Free Fields BO Item |
| FreeFieldsBOItemLocalizingDTO | Free Fields BO Item Localizing |
| FreeFieldsBOTreeItemDTO | Free Fields BO Tree Item |
| FreeFieldsType | Free Fields Type |
| GetIdsMappedByExternalReferenceRequest | Get Ids Mapped By External Reference Request |
| GetItemResult`1[] | Get Item Result`1 |
| GetItemsMappedByExternalReferenceRequest | Get Items Mapped By External Reference Request |
| IHelperResult | Helper Result |
| object | Int 32 |
| JobOrderPlannedMode | Job Order Planned Mode |
| JobOrderTaskPlannedCrossMode | Job Order Task Planned Cross Mode |
| JobOrderTaskPlannedRollingStockMode | Job Order Task Planned Rolling Stock Mode |
| JobOrderTaskPlanningMode | Job Order Task Planning Mode |
| KindOfPrice | Kind Of Price |
| LinkItem | Link Item |
| LiquidStruct | Liquid Struct |
| LocalizeType | Localize Type |
| LocalizingDTO | Localizing |
| MapExternalReferenceRequest | Map External Reference Request |
| MultipleDeleteModel | Multiple Delete Model |
| MultipleExistsModel | Multiple Exists Model |
| MultipleGetModel | Multiple Get Model |
| PrintHtmlRequest | Print Html Request |
| PrintTemplateDTO | Print Template |
| RecentRouteType | Recent Route Type |
| RollingStockInContractDTO | Rolling Stock In Contract |
| SampleGenerationStrategy | Sample Generation Strategy |
| StandardSchemaVersion | Standard Schema Version |
| StorageDTO | Storage |
| Template | Template |
| TypeOfContractSection | Type Of Contract Section |
| TypeOfPrice | Type Of Price |
| TypeOfSection | Type Of Section |
| TypeOfService | Type Of Service |
| YearMode | Year Mode |
Errors
The controller actions will generate errors for the following cases:
- Status 400: Badly formed queries e.g. filter parameters that are not correctly encoded
- Status 401: Authentication failures e.g. unrecognised keys
- Status 403: Forbidden. The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource, or may need an account of some sort.
- Status 404: Not found. Unknown resources e.g. data which is not public
- Status 409: Conflict. Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.
- Status 500: Server errors e.g. where something has gone
Errors are formatted in JSON
Versioning
It is possible to select the web services version using the {version} token
/api/{version}/{controller}/{details}/{action}/{id}?{querystring}
The token {version} can contain both "exact" values and the special "latest" alias, which identifies the most recent version among those existing in the system.
In general, the use of the special "latest" alias is strongly recommended.
If you want to be particularly "conservative" and adherent to a specific version, specify the name explicitly (eg "v1").
Routing
The system use the following routing syntax, consisting of a sequence of "path-tokens" (the request parameters):
{schema}://{host}/api/{version}/{controller}/{details}/{action}/{id}?{querystring}
The tokens identify respectively:
- {host} -> HOST of the URL
- {version} -> version of web services
- {controller} -> name of the service (controller) you want to invoke
- {details} -> optional detail level of the returned JSON (if applicable)
- {action} -> optional action (method) invoked in the controller
- {id} -> single optional primary key argument (parameter) of the method in the controller, if it so requires
- {querystring} -> additional parameters and possible "modifiers" of the processing and serialization process
OData
The REST APIs are internally based on the Microsoft WebAPI technology, and are largely compliant with the REST specifications, OData v3 and OData v4.
Functions and details related to OData
For more details and specifications regarding the general criteria to adopt when using the OData functions, refer to the basic guide on the topic
Options
The REST API functions implemented in CRM in Cloud include a vast set of options that allow you to adapt the structure and shape of JSON packages according to your needs and preferences.
Unlike the parameters, which are specified in the URL route (through tokens and querystring), the options must instead be passed through the HTTP headers of the request.
As from RFC6648 all the options passed through HTTP headers have in their name the custom prefix "Crm-".
If a certain option is not specified, the system will use the default value specific to the {version} indicated in the URL.
For a complete discussion of options and polymorphic serialization, refer to the general guide on the subject
Swagger
Below you can download the JSON descriptor in Swagger/OpenAPI format