Create a Record
Changed onCreate a contract record by specifying its intended metadata properties. See more documentation on creating a record.
OAuth Scope required: public.records.createRecords
Request
- Base URLhttps://ironcladapp.com/public/api/v1
- URLhttps://ironcladapp.com/public/api/v1/records
- AuthAPI key in header Authorization and OAuth 2Authorization code: https://ironcladapp.com/oauth/authorizeClient credentialsToken URL: https://ironcladapp.com/oauth/token scopes: public.records.createRecords
Query parameters
When true, returns addresses as objects instead of strings.
Headers
Denotes the actor of the request. When used, the API will take into account this user's permissions and access. This or x-as-user-id is required when the associated token was produced from the Client Credentials grant or with legacy bearer tokens on select endpoints. A token produced from the Authorization Code grant (which is already scoped to a user) may also use this header to act as a different user in the same company, provided the token carries the identity.users.impersonate scope and the token's own user has been granted the API User Impersonation permission. A request that sends this header without both never acts as the named user; depending on the company's configuration it either proceeds as the token's own user or is rejected with a 403. More information about permissions.
Denotes the actor of the request. When used, the API will take into account this user's permissions and access. This or x-as-user-email is required when the associated token was produced from the Client Credentials grant or with legacy bearer tokens on select endpoints. A token produced from the Authorization Code grant (which is already scoped to a user) may also use this header to act as a different user in the same company, provided the token carries the identity.users.impersonate scope and the token's own user has been granted the API User Impersonation permission. A request that sends this header without both never acts as the named user; depending on the company's configuration it either proceeds as the token's own user or is rejected with a 403. More information about permissions.
Request body
Example request
{
"properties": {
"contractValue": {
"value": {
"currency": "USD",
"amount": 100000
}
}
},
"links": [
{
"recordId": "17009e0d-z2e9-425d-a85b-1cf152773e49"
}
],
"parent": {
"recordId": "17009e0d-z2e9-425d-a85b-1cf152773efg"
},
"propertiesToAmend": {
"contractValue": {
"amendmentType": "replace"
},
"terminationDate": {
"amendmentType": "replace"
}
},
"children": [
{
"recordId": "17009e0d-z2e9-425d-a85b-1cf152773e49"
}
]
}Response
200
Example response
{
"id": "22e2ff72-56a1-4711-a4ca-41328d311e9f",
"ironcladId": "IC-1",
"type": "consultingAgreement",
"typeDisplayName": "Consulting Agreement",
"name": "Consulting Agreement with Jane Doe",
"lastUpdated": "2018-05-08T17:28:10Z",
"links": [
{
"recordId": "df1c2805-f5a3-4a14-9386-c28d950dff49"
}
],
"parentId": "d10b8c01-5c54-4a59-82cb-51e3825182e9",
"childIds": [
"4a785686-d3d5-47bc-960e-3df0df871ea9"
],
"contractStatus": {
"status": "active",
"enhancedStatus": "auto-renewing",
"remainingDuration": "P26D",
"eventDate": "2024-07-02T00:00:00.000Z",
"message": "Auto-renewing on Jul 2, 2024"
},
"source": {
"type": "workflow",
"workflowId": "workflow:4a785686-d3d5-47bc-960e-3df0df871ea9"
},
"amendments": [
"IC-124"
]
}Changes
- breaking
added to the
response propertyoneOflist for the response status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
to the response with the status
- breaking