Update a Grant

PUT {{baseUrl}}/api/Grant/:grantId

Similar to other update methods in the API, excluding a property will remove it's value from the object. If you're only updating a single property, the entire model is still required.

Request Body

{"ownerId"=>"<integer>", "title"=>"<string>", "grantingOrganizationId"=>"<integer>", "description"=>"<string>", "referenceId"=>"<string>", "receivingOrganizationId"=>"<integer>", "projectId"=>"<integer>", "dueDate"=>"<dateTime>", "totalAnticipatedAmount"=>"<double>", "status"=>"<string>", "submissionDate"=>"<dateTime>", "anticipatedAwardDate"=>"<dateTime>", "pointOfContactName"=>"<string>", "pointOfContactEmail"=>"<string>", "pointOfContactPhone"=>"<string>", "website"=>"<string>", "awardedGrant"=>"<boolean>", "awardedAmount"=>"<double>", "awardedDate"=>"<dateTime>", "awardTerms"=>"<string>", "grantType"=>"<string>", "customFields"=>[{"name"=>"<string>", "value"=>"<string>", "displayName"=>"<string>"}, {"name"=>"<string>", "value"=>"<string>", "displayName"=>"<string>"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;grantUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;giftsAppliedUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;ownerId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;title&quot;:&quot;\u003cstring\u003e&quot;,&quot;grantingOrganizationId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;grantingOrganizationUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;referenceId&quot;:&quot;\u003cstring\u003e&quot;,&quot;receivingOrganizationId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;receivingOrganizationUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;projectUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;projectId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;project&quot;:&quot;\u003cstring\u003e&quot;,&quot;dueDateUtc&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;totalAnticipatedAmount&quot;:&quot;\u003cdouble\u003e&quot;,&quot;status&quot;:&quot;\u003cstring\u003e&quot;,&quot;submissionDateUtc&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;anticipatedAwardDateUtc&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;pointOfContactName&quot;:&quot;\u003cstring\u003e&quot;,&quot;pointOfContactEmail&quot;:&quot;\u003cstring\u003e&quot;,&quot;pointOfContactPhone&quot;:&quot;\u003cstring\u003e&quot;,&quot;website&quot;:&quot;\u003cstring\u003e&quot;,&quot;awardedGrant&quot;:&quot;\u003cboolean\u003e&quot;,&quot;awardedAmount&quot;:&quot;\u003cdouble\u003e&quot;,&quot;awardedDateUtc&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;awardTerms&quot;:&quot;\u003cstring\u003e&quot;,&quot;grantType&quot;:&quot;\u003cstring\u003e&quot;,&quot;createDateTimeUtc&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;createdByUser&quot;:&quot;\u003cstring\u003e&quot;,&quot;modifiedDateTimeUtc&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;modifiedByUser&quot;:&quot;\u003cstring\u003e&quot;,&quot;customFields&quot;:[{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;,&quot;displayName&quot;:&quot;\u003cstring\u003e&quot;},{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;,&quot;displayName&quot;:&quot;\u003cstring\u003e&quot;}]}