Adds a new upload source preferences
post
/cmc-upload-source-preferences-services/service/uploadsourcepreferences
This endpoint is used to create the upload source preferences.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
sourceCode: string
Source from which request is initiated
Request Body that contains data required for creating a new uploadsourcepreferences
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
objectDiscriminator:
resource_typeNested Schema : CmcTmUploadSourcePrefServiceDto-allOf[1]
Type:
Show Source
object-
allowDeferredProcessing(optional):
string
Minimum Length:
0Maximum Length:1 -
allowDelete(optional):
string
Minimum Length:
0Maximum Length:1 -
allowEodWithDeferred(optional):
string
Minimum Length:
0Maximum Length:1 -
amendAllowed(optional):
string
Minimum Length:
0Maximum Length:1 -
deleteAllowed(optional):
string
Minimum Length:
0Maximum Length:1 -
onError:
string
Minimum Length:
0Maximum Length:1Pattern:^(E)$ -
onOverride:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:E|I|O)$ -
onQueueException(optional):
string
Minimum Length:
0Maximum Length:1Pattern:^(?:E|I)$ -
onRepairableException(optional):
string
Minimum Length:
0Maximum Length:1Pattern:^(?:E|I)$ -
proceedWithEod(optional):
string
Minimum Length:
0Maximum Length:1 -
purgeDays(optional):
number
Minimum Length:
0Maximum Length:4 -
reverseAllowed(optional):
string
Minimum Length:
0Maximum Length:1 -
sourceCode:
string
Minimum Length:
0Maximum Length:15 -
uploadedStatus:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:H|U|A)$
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of success or failure
Headers
-
Location: string
URL of newly created uploadsourcepreferences
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
objectDiscriminator:
resource_typeNested Schema : CmcTmUploadSourcePrefServiceDto-allOf[1]
Type:
Show Source
object-
allowDeferredProcessing(optional):
string
Minimum Length:
0Maximum Length:1 -
allowDelete(optional):
string
Minimum Length:
0Maximum Length:1 -
allowEodWithDeferred(optional):
string
Minimum Length:
0Maximum Length:1 -
amendAllowed(optional):
string
Minimum Length:
0Maximum Length:1 -
deleteAllowed(optional):
string
Minimum Length:
0Maximum Length:1 -
onError:
string
Minimum Length:
0Maximum Length:1Pattern:^(E)$ -
onOverride:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:E|I|O)$ -
onQueueException(optional):
string
Minimum Length:
0Maximum Length:1Pattern:^(?:E|I)$ -
onRepairableException(optional):
string
Minimum Length:
0Maximum Length:1Pattern:^(?:E|I)$ -
proceedWithEod(optional):
string
Minimum Length:
0Maximum Length:1 -
purgeDays(optional):
number
Minimum Length:
0Maximum Length:4 -
reverseAllowed(optional):
string
Minimum Length:
0Maximum Length:1 -
sourceCode:
string
Minimum Length:
0Maximum Length:15 -
uploadedStatus:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:H|U|A)$
Nested Schema : items
Type:
object400 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