LawVu Fields (1.0)

Apis for field resources

Languages
Servers
Sandbox API

https://api-sandbox.lawvu.com/field-apis/

Production API

https://api.lawvu.com/field-apis/

Fields

Operations

LookupFields

Operations

Get available choices for a multi lookup field

Request

Path
idinteger(int32)required

The ID of the field

Query
skipinteger(int32)

Number of results to skip

Default: 0

Default 0
takeinteger(int32)

The maximum number of choices to return

Default: 25

Default 25
searchstring

Text filter

No request payload

Responses

Success

Body
skipinteger(int32)
takeinteger(int32)
resultsArray of objects or null(LookupOption)
Response
No response example

Add a choice to the multi lookup field

Request

Path
idinteger(int32)required

The ID of the lookup field

Body

A model describing the choice to be added

labelstring or null
{ "label": "string" }

Responses

Success

Body
idinteger(int32)
labelstring or null
Response
No response example

Deletes a choice from the the lookup field

Request

Path
idinteger(int32)required

The ID of the lookup field

choiceIdinteger(int32)required

The ID of the choice to remove

No request payload

Responses

Success

Patch a choice, currently only move is supported to merge two choices together

Request

Path
idinteger(int32)required

The ID of the lookup field

choiceIdinteger(int32)required

The choice to patch

Body

A Json-Patch to apply

Array [
valueobject or null
pathstring or null
opstring or null
fromstring or null
]
[ { "value": 1000, "path": "Id", "op": "replace" } ]

Responses

Success

Add a choice to the single lookup field

Request

Path
idinteger(int32)required

The ID of the lookup field

Body

A model describing the choice to be added

labelstring or null
{ "label": "string" }

Responses

Success

Body
idstring or null
labelstring or null
Response
No response example

Get available choices for a single lookup field

Request

Path
idinteger(int32)required

The ID of the field

Query
skipinteger(int32)

Number of results to skip

Default: 0

Default 0
takeinteger(int32)

The maximum number of choices to return

Default: 25

Default 25
searchstring

Text filter

No request payload

Responses

Success

Body
skipinteger(int32)
takeinteger(int32)
resultsArray of objects or null(SingleLookupOption)
Response
No response example