Update Questionnaire Authorization Reason by Id
put
/spms/v2/ships/{shipId}/reservations/{reservationId}/questionnaireAcknowledgements/{questionnairesAcknowledgementId}/authorizationReasons/{authorizationReasonId}
This is to update an acknowledged questionnaire authorization reason by id.
Request
Supported Media Types
- application/json
Path Parameters
Required to update Questionnaire Authorization Reason
Root Schema : putAuthorizationReason
Type:
object
Authorization Reason
Show Source
-
authorizedReasonId(required):
number
Minimum Value:
1
Pattern:^[0-9]*$
Authorized Reason IdExample:1001
-
editor(required):
object editorWithoutName
Editor
Nested Schema : editorWithoutName
Type:
object
Editor
Show Source
-
id(required):
number
Minimum Value:
1
Pattern:^[0-9]*$
Editor IdExample:1001
Response
Supported Media Types
- application/json
200 Response
Questionnaire Authorization Reason Updated successfully
Nested Schema : editor
Type:
object
Editor
Show Source
-
id(required):
number
Minimum Value:
1
Pattern:^[0-9]*$
Editor IdExample:1001
-
name(required):
string
Minimum Length:
1
Maximum Length:255
Editor NameExample:Gary
400 Response
Bad Request
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
401 Response
You are not authorized to use this API
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
403 Response
You are forbidden to use this API
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
404 Response
Not Found
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
405 Response
This method is not available
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
406 Response
Not Acceptable
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
415 Response
Unsupported Media Type
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
500 Response
Error occured while processing this request
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
503 Response
Service not available
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source