Update an existing rule
put
/service/uploadsourcepreferences/{uploadSourceCode}
This endpoint is used to update an existing upload source preferences.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
uploadSourceCode: string
key of the uploadsourcepreferences Maintenance
Header Parameters
-
sourceCode: string
Source from which request is initiated
Request Body that contains data required for updating an existing uploadsourcepreferences
Root Schema : CmcTmUploadSourcePrefServiceDto
Type:
object
Match All
Show Source
-
allOf
GenericDto
-
object
CmcTmUploadSourcePrefServiceDto-allOf[1]
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : CmcTmUploadSourcePrefServiceDto-allOf[1]
Type:
Show Source
object
-
allowDeferredProcessing(optional):
string
Minimum Length:
0
Maximum Length:1
-
allowDelete(optional):
string
Minimum Length:
0
Maximum Length:1
-
allowEodWithDeferred(optional):
string
Minimum Length:
0
Maximum Length:1
-
amendAllowed(optional):
string
Minimum Length:
0
Maximum Length:1
-
deleteAllowed(optional):
string
Minimum Length:
0
Maximum Length:1
-
onError:
string
Minimum Length:
0
Maximum Length:1
Pattern:^(E)$
-
onOverride:
string
Minimum Length:
0
Maximum Length:1
Pattern:^(?:E|I|O)$
-
onQueueException(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:^(?:E|I)$
-
onRepairableException(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:^(?:E|I)$
-
proceedWithEod(optional):
string
Minimum Length:
0
Maximum Length:1
-
purgeDays(optional):
number
Minimum Length:
0
Maximum Length:4
-
reverseAllowed(optional):
string
Minimum Length:
0
Maximum Length:1
-
sourceCode:
string
Minimum Length:
0
Maximum Length:15
-
uploadedStatus:
string
Minimum Length:
0
Maximum Length:1
Pattern:^(?:H|U|A)$
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns updated uploadsourcepreferences
Root Schema : CmcTmUploadSourcePrefServiceResponseDtoWrapper
Type:
Show Source
object
-
data(optional):
object CmcTmUploadSourcePrefServiceDto
-
messages(optional):
object ResponseDto
Nested Schema : CmcTmUploadSourcePrefServiceDto
Type:
object
Match All
Show Source
-
allOf
GenericDto
-
object
CmcTmUploadSourcePrefServiceDto-allOf[1]
Nested Schema : ResponseDto
Type:
Show Source
object
-
codes(optional):
array codes
-
id(optional):
string
-
requestId(optional):
string
-
status(optional):
string
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : CmcTmUploadSourcePrefServiceDto-allOf[1]
Type:
Show Source
object
-
allowDeferredProcessing(optional):
string
Minimum Length:
0
Maximum Length:1
-
allowDelete(optional):
string
Minimum Length:
0
Maximum Length:1
-
allowEodWithDeferred(optional):
string
Minimum Length:
0
Maximum Length:1
-
amendAllowed(optional):
string
Minimum Length:
0
Maximum Length:1
-
deleteAllowed(optional):
string
Minimum Length:
0
Maximum Length:1
-
onError:
string
Minimum Length:
0
Maximum Length:1
Pattern:^(E)$
-
onOverride:
string
Minimum Length:
0
Maximum Length:1
Pattern:^(?:E|I|O)$
-
onQueueException(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:^(?:E|I)$
-
onRepairableException(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:^(?:E|I)$
-
proceedWithEod(optional):
string
Minimum Length:
0
Maximum Length:1
-
purgeDays(optional):
number
Minimum Length:
0
Maximum Length:4
-
reverseAllowed(optional):
string
Minimum Length:
0
Maximum Length:1
-
sourceCode:
string
Minimum Length:
0
Maximum Length:15
-
uploadedStatus:
string
Minimum Length:
0
Maximum Length:1
Pattern:^(?:H|U|A)$
Nested Schema : ResponseCode
Type:
Show Source
object
-
arg(optional):
string
-
args(optional):
array args
-
Code(optional):
string
-
Desc(optional):
string
-
Language(optional):
string
-
Type(optional):
string
Nested Schema : items
Type:
object
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error