swagger.yaml 238 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryNoticeRsp:
  22. properties:
  23. auditoruserid:
  24. description: 审核人
  25. type: integer
  26. auditremark:
  27. description: 审核备注
  28. type: string
  29. audittime:
  30. description: 审核日期
  31. type: string
  32. autoid:
  33. description: 自增ID
  34. type: integer
  35. content:
  36. description: 内容
  37. type: string
  38. createtime:
  39. description: 创建时间
  40. type: string
  41. creatorid:
  42. description: 建仓人
  43. type: integer
  44. endtime:
  45. description: 结束时间
  46. type: string
  47. istop:
  48. description: 是否置顶 - 0:不置顶 1:置顶
  49. type: integer
  50. msgiconurl:
  51. description: 消息图标Url
  52. type: string
  53. msgtype:
  54. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  55. type: integer
  56. publisher:
  57. description: 消息发布者
  58. type: string
  59. readed:
  60. description: 是否已读
  61. type: boolean
  62. scheduletime:
  63. description: 计划发送时间
  64. type: string
  65. sendtype:
  66. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  67. type: integer
  68. sentstatus:
  69. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  70. type: integer
  71. title:
  72. description: 标题
  73. type: string
  74. userid:
  75. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  76. type: integer
  77. required:
  78. - autoid
  79. type: object
  80. common.QueryProvincesAndCitiesRsp:
  81. properties:
  82. cities:
  83. description: 市
  84. items:
  85. $ref: '#/definitions/models.Division'
  86. type: array
  87. province:
  88. $ref: '#/definitions/models.Division'
  89. description: 省
  90. type: object
  91. type: object
  92. common.QueryTableDefineRsp:
  93. properties:
  94. columns:
  95. description: 列头信息数组
  96. items:
  97. $ref: '#/definitions/models.Tablecolumnconfig'
  98. type: array
  99. remark:
  100. description: Remark
  101. type: string
  102. tabelmenu:
  103. description: 列表菜单
  104. type: string
  105. tablekey:
  106. description: 列表Key
  107. type: string
  108. tablename:
  109. description: 列表名称
  110. type: string
  111. tabletype:
  112. description: 列表类型 - 1:管理端 2:终端
  113. type: integer
  114. required:
  115. - tablekey
  116. type: object
  117. common.QueryTraderMenuRsp:
  118. properties:
  119. OperationMenu:
  120. description: 功能菜单
  121. items:
  122. $ref: '#/definitions/models.OperationPrimaryMenu'
  123. type: array
  124. QuoteMenu:
  125. description: 报价牌分类菜单
  126. items:
  127. $ref: '#/definitions/models.QuotePrimaryMenu'
  128. type: array
  129. type: object
  130. cptrade.Cptradepositioncancel:
  131. properties:
  132. accountid:
  133. description: 申请人账户ID
  134. type: integer
  135. applystatus:
  136. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  137. type: integer
  138. applytime:
  139. description: 申请时间
  140. type: string
  141. cancelid:
  142. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  143. type: integer
  144. cancelqty:
  145. description: 注销数量
  146. type: integer
  147. createtime:
  148. description: 创建时间
  149. type: string
  150. creatorid:
  151. description: 创建人ID
  152. type: integer
  153. creatorname:
  154. description: 创建人
  155. type: string
  156. goodscode:
  157. description: 订单商品代码
  158. type: string
  159. goodsid:
  160. description: 商品ID
  161. type: integer
  162. goodsname:
  163. description: 订单商品名称
  164. type: string
  165. goodunit:
  166. description: 报价单位
  167. type: string
  168. handlestatus:
  169. description: 处理状态
  170. type: integer
  171. marketid:
  172. description: 市场ID
  173. type: integer
  174. marketname:
  175. description: 市场名称
  176. type: string
  177. tradedate:
  178. description: 交易日(yyyyMMdd)
  179. type: string
  180. userid:
  181. description: 申请人ID
  182. type: integer
  183. required:
  184. - cancelid
  185. type: object
  186. cptrade.Cptradepresaleapply:
  187. properties:
  188. accountid:
  189. description: 申请人账户ID
  190. type: integer
  191. applyid:
  192. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  193. type: integer
  194. applyremark:
  195. description: 申请备注
  196. type: string
  197. applystatus:
  198. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  199. type: integer
  200. applytime:
  201. description: 申请时间
  202. type: string
  203. attachmenturl:
  204. description: 附件地址
  205. type: string
  206. endtime:
  207. description: 预售结束时间
  208. type: string
  209. goodscode:
  210. description: 商品代码
  211. type: string
  212. goodsid:
  213. description: 商品ID
  214. type: integer
  215. goodsname:
  216. description: 商品名称
  217. type: string
  218. goodunit:
  219. description: 报价单位
  220. type: string
  221. handlestatus:
  222. description: 处理状态
  223. type: integer
  224. marketid:
  225. description: 预售市场ID
  226. type: integer
  227. marketname:
  228. description: 预售市场名称
  229. type: string
  230. presaleqty:
  231. description: 预售数量
  232. type: integer
  233. relatedgoodscode:
  234. description: 关联交易合约代码
  235. type: string
  236. relatedgoodsid:
  237. description: 关联交易合约ID
  238. type: integer
  239. relatedgoodsname:
  240. description: 关联交易合约名称
  241. type: string
  242. starttime:
  243. description: 预售开始时间
  244. type: string
  245. tradedate:
  246. description: 交易日(yyyyMMdd)
  247. type: string
  248. trademode:
  249. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  250. type: integer
  251. userid:
  252. description: 申请人ID
  253. type: integer
  254. required:
  255. - applyid
  256. type: object
  257. cptrade.Cptradeusergoodsdata:
  258. properties:
  259. EnabledQty:
  260. description: 可用量
  261. type: integer
  262. GoodsCode:
  263. description: 订单商品代码
  264. type: string
  265. GoodsName:
  266. description: 订单商品名称
  267. type: string
  268. WRStandardCode:
  269. description: 仓单标准代码
  270. type: string
  271. WRStandardName:
  272. description: 仓单标准名称
  273. type: string
  274. accountid:
  275. description: 账户ID
  276. type: integer
  277. cancelqty:
  278. description: 注销量
  279. type: integer
  280. curpresaleqty:
  281. description: 当前预售量
  282. type: integer
  283. deliveryqty:
  284. description: 交割量
  285. type: integer
  286. freezeamount:
  287. description: 冻结金额
  288. type: number
  289. goodsid:
  290. description: 商品ID
  291. type: integer
  292. goodunit:
  293. description: 报价单位
  294. type: string
  295. hasspotfreeze:
  296. description: 是否有现货冻结 - 0:否 1:有
  297. type: integer
  298. inqty:
  299. description: 转入量(总数量)
  300. type: integer
  301. marketid:
  302. description: 市场ID
  303. type: integer
  304. presaledamount:
  305. description: 已预售总金额
  306. type: integer
  307. presaledqty:
  308. description: 已预售量
  309. type: integer
  310. userid:
  311. description: 用户ID
  312. type: integer
  313. wrstandardid:
  314. description: 仓单标准ID
  315. type: integer
  316. required:
  317. - accountid
  318. - goodsid
  319. type: object
  320. cptrade.QueryCPTradeMyBidRsp:
  321. properties:
  322. accountid:
  323. description: 账户ID[报价币种]
  324. type: integer
  325. goodsid:
  326. description: 商品ID
  327. type: integer
  328. goodunit:
  329. description: 报价单位
  330. type: string
  331. marketid:
  332. description: 市场ID
  333. type: integer
  334. orderid:
  335. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  336. type: integer
  337. orderprice:
  338. description: 委托价格
  339. type: number
  340. orderqty:
  341. description: 委托数量
  342. type: integer
  343. ordertime:
  344. description: 委托时间
  345. type: string
  346. ordertotalprice:
  347. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  348. type: number
  349. ordertotalweight:
  350. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  351. type: integer
  352. totaltotalprice:
  353. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  354. type: number
  355. tradeprice:
  356. description: 成交价格
  357. type: number
  358. tradeqty:
  359. description: 成交数量
  360. type: integer
  361. required:
  362. - accountid
  363. - goodsid
  364. - marketid
  365. - orderid
  366. - orderqty
  367. - ordertime
  368. - tradeprice
  369. - tradeqty
  370. type: object
  371. cptrade.QueryCPTradeOrderDetailRsq:
  372. properties:
  373. accountid:
  374. description: 账户ID[报价币种]
  375. type: integer
  376. buildtype:
  377. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  378. type: integer
  379. buyorsell:
  380. description: 买卖 - 0:买 1:卖
  381. type: integer
  382. cancelorderid:
  383. description: 撤单单号(撤单时填写)
  384. type: integer
  385. cancelqty:
  386. description: 撤单数量
  387. type: integer
  388. clientordertime:
  389. description: 客户端委托时间
  390. type: string
  391. clientticket:
  392. description: 客户端流水号
  393. type: string
  394. clienttype:
  395. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  396. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  397. type: integer
  398. closeexchagechargevalue:
  399. description: 平仓交易所手续费设置值
  400. type: number
  401. closefeealgorithm:
  402. description: 平仓手续费收取方式 1:比率 2:固定
  403. type: integer
  404. closefreezecharge:
  405. description: 平仓冻结手续费(先建后平操作,需要记录)
  406. type: number
  407. closememberchargevalue:
  408. description: 平仓会员手续费设置值
  409. type: number
  410. closeqty:
  411. description: 平仓数量(先建后平操作 需要记录)
  412. type: integer
  413. closetradeqty:
  414. description: 平仓成交数量(先建后平操作,需要记录)
  415. type: integer
  416. closeunfreezecharge:
  417. description: 平仓解冻手续费(先建后平操作,需要记录)
  418. type: number
  419. delistingtype:
  420. description: 摘牌类型 - 1:价格最优 2:点选成交
  421. type: integer
  422. freezecharge:
  423. description: 冻结手续费
  424. type: number
  425. freezemargin:
  426. description: 冻结保证金(冻结交易金额)
  427. type: number
  428. gcaccountid:
  429. description: 账户ID[合约币种]
  430. type: integer
  431. goodsid:
  432. description: 商品ID
  433. type: integer
  434. isconfirmexercise:
  435. description: 是否确认行权- 0:否 1:是
  436. type: integer
  437. ispreexercise:
  438. description: 是否预申报- 0:否 1:是
  439. type: integer
  440. listingselecttype:
  441. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  442. type: integer
  443. marginalgorithm:
  444. description: 保证金收取方式 1:比率 2:固定
  445. type: integer
  446. marginvalue:
  447. description: 即市保证金设置值
  448. type: number
  449. marketid:
  450. description: 市场ID
  451. type: integer
  452. marketmaxsub:
  453. description: 市价最大偏移范围
  454. type: number
  455. memberuserid:
  456. description: 所属会员UserID
  457. type: integer
  458. openexchagechargevalue:
  459. description: 建仓交易所手续费设置值
  460. type: number
  461. openfeealgorithm:
  462. description: 建仓手续费收取方式 1:比率 2:固定
  463. type: integer
  464. openfreezecharge:
  465. description: 开仓冻结手续费(先建后平操作,需要记录)
  466. type: number
  467. openmemberchargevalue:
  468. description: 建仓会员手续费设置值
  469. type: number
  470. openqty:
  471. description: 开仓数量(先建后平操作,需要记录)
  472. type: integer
  473. opentradeqty:
  474. description: 开仓成交数量(先建后平操作,需要记录)
  475. type: integer
  476. openunfreezecharge:
  477. description: 开仓解冻手续费(先建后平操作,需要记录)
  478. type: number
  479. operatetype:
  480. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  481. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  482. 15:管理端协议转让
  483. type: integer
  484. operatorid:
  485. description: 登录账号(LoginID)
  486. type: integer
  487. optiontype:
  488. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  489. type: integer
  490. orderprice:
  491. description: 委托价格
  492. type: number
  493. orderqty:
  494. description: 委托数量
  495. type: integer
  496. ordersrc:
  497. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  498. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  499. type: integer
  500. orderstatus:
  501. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  502. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  503. 16:成交失败违约(荷兰式竞拍专用)
  504. type: integer
  505. ordertime:
  506. description: 委托时间
  507. type: string
  508. preexerciseprice:
  509. description: 预申报价格
  510. type: number
  511. premium:
  512. description: 权利金
  513. type: number
  514. preorderid:
  515. description: 关联预埋单号(止盈止损单时填写)
  516. type: integer
  517. pricemode:
  518. description: '取价方式 - 1:市价 2: 限价'
  519. type: integer
  520. quoteid:
  521. description: 报价单ID
  522. type: integer
  523. relatedid:
  524. description: 关联单号(交割单)
  525. type: integer
  526. retcode:
  527. description: 错误代码
  528. type: integer
  529. sessionid:
  530. description: 会话ID
  531. type: integer
  532. strorderid:
  533. description: 委托单号
  534. type: string
  535. tradedate:
  536. description: 交易日(yyyyMMdd)
  537. type: string
  538. tradeproperty:
  539. description: 交易属性
  540. type: integer
  541. tradeqty:
  542. description: 成交数量
  543. type: integer
  544. unfreezecharge:
  545. description: 解冻手续费
  546. type: number
  547. unfreezemargin:
  548. description: 解冻保证金
  549. type: number
  550. updatetime:
  551. description: 更新时间
  552. type: string
  553. uuid:
  554. description: 发起端唯一id
  555. type: string
  556. validtime:
  557. description: 有效期限
  558. type: string
  559. validtype:
  560. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  561. type: integer
  562. volumetype:
  563. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  564. type: integer
  565. required:
  566. - accountid
  567. - buildtype
  568. - buyorsell
  569. - goodsid
  570. - marketid
  571. - memberuserid
  572. - operatetype
  573. - orderqty
  574. - ordertime
  575. - pricemode
  576. - strorderid
  577. - tradedate
  578. - validtype
  579. type: object
  580. cptrade.QueryMyCPTradeGoodsRsp:
  581. properties:
  582. accountid:
  583. description: 卖方账户ID
  584. type: integer
  585. agreeunit:
  586. description: 合约单位
  587. type: number
  588. applyid:
  589. description: 关联申请ID
  590. type: integer
  591. attachmenturl:
  592. description: 附件地址
  593. type: string
  594. createtime:
  595. description: 创建时间
  596. type: string
  597. currencyid:
  598. description: 报价货币ID
  599. type: integer
  600. decimalplace:
  601. description: 报价小数位
  602. type: integer
  603. endtime:
  604. description: 预售结束时间
  605. type: string
  606. floorprice:
  607. description: 底价[大宗式竞拍]
  608. type: number
  609. goodscode:
  610. description: 商品代码(预售)
  611. type: string
  612. goodsdetail:
  613. description: 详情[大宗]
  614. type: string
  615. goodsid:
  616. description: 商品ID(自增ID SEQ_GOODS)
  617. type: integer
  618. goodsname:
  619. description: 商品名称(预售)
  620. type: string
  621. goodunit:
  622. description: 报价单位
  623. type: string
  624. goodunitid:
  625. description: 报价单位ID
  626. type: integer
  627. marketid:
  628. description: 所属市场ID
  629. type: integer
  630. marketname:
  631. description: 预售市场名称
  632. type: string
  633. presaledamount:
  634. description: 已预售总金额(预售结束时更新)
  635. type: number
  636. presaledqty:
  637. description: 已预售量(预售结束时更新)
  638. type: integer
  639. presalemode:
  640. description: 预售模式 - 1:一口价 2:大宗式竞拍
  641. type: integer
  642. presaleqty:
  643. description: 预售数量
  644. type: integer
  645. refprice:
  646. description: 参考价格[一口价]
  647. type: number
  648. relatedgoodscode:
  649. description: 商品代码(订单)
  650. type: string
  651. relatedgoodsid:
  652. description: 关联交易合约ID
  653. type: integer
  654. relatedgoodsname:
  655. description: 商品名称(订单)
  656. type: string
  657. relatedmarketid:
  658. description: 关联交易合约市场ID
  659. type: integer
  660. sellstatus:
  661. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  662. type: integer
  663. startprice:
  664. description: 起拍价[大宗式竞拍]
  665. type: number
  666. starttime:
  667. description: 预售开始时间
  668. type: string
  669. tradedate:
  670. description: 交易日(yyyyMMdd)
  671. type: string
  672. tradeprice:
  673. description: 成交价[大宗]
  674. type: number
  675. userid:
  676. description: 卖方用户ID
  677. type: integer
  678. required:
  679. - goodscode
  680. - goodsid
  681. - goodsname
  682. - marketid
  683. - relatedgoodscode
  684. - relatedgoodsname
  685. type: object
  686. cptrade.QueryPresaleGoodsExRsp:
  687. properties:
  688. attachmenturl:
  689. description: 附件地址
  690. type: string
  691. createtime:
  692. description: 创建时间
  693. type: string
  694. endtime:
  695. description: 预售结束时间
  696. type: string
  697. floorprice:
  698. description: 底价[大宗式竞拍]
  699. type: number
  700. goodsdetail:
  701. description: 详情[大宗]
  702. type: string
  703. goodsid:
  704. description: 商品ID(预售)
  705. type: integer
  706. goodunit:
  707. description: 报价单位
  708. type: string
  709. marketid:
  710. description: 预售市场ID - 根据预售模式选择市场
  711. type: integer
  712. presaledamount:
  713. description: 已预售总金额(预售结束时更新)
  714. type: number
  715. presaledqty:
  716. description: 已预售量(预售结束时更新)
  717. type: integer
  718. presalemode:
  719. description: 预售模式 - 1:一口价 2:大宗式竞拍
  720. type: integer
  721. presaleqty:
  722. description: 预售数量
  723. type: integer
  724. refprice:
  725. description: 参考价格[一口价]
  726. type: number
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedmarketid:
  731. description: 关联交易合约市场ID
  732. type: integer
  733. sellstatus:
  734. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  735. type: integer
  736. startprice:
  737. description: 起拍价[大宗式竞拍]
  738. type: number
  739. starttime:
  740. description: 预售开始时间
  741. type: string
  742. tradedate:
  743. description: 交易日(yyyyMMdd)
  744. type: string
  745. tradeprice:
  746. description: 成交价[大宗]
  747. type: number
  748. required:
  749. - goodsid
  750. type: object
  751. delivery.QueryDeliveryRelationRsp:
  752. properties:
  753. begindate:
  754. description: 起始日期(yyyyMMdd)
  755. type: string
  756. buytemplateid:
  757. description: 买履约计划模板ID
  758. type: integer
  759. deliverygoodscode:
  760. description: 品种代码
  761. type: string
  762. deliverygoodsid:
  763. description: 交割商品
  764. type: integer
  765. deliverygoodsname:
  766. description: 品种名称
  767. type: string
  768. deliverymode:
  769. description: 交割方式 - 1:点选式 2:申报式
  770. type: integer
  771. deliverypricerule:
  772. description: 交割价规则- 1:行情价 2:建仓价
  773. type: integer
  774. deliverytype:
  775. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  776. type: integer
  777. enddate:
  778. description: 结束日期(yyyyMMdd)
  779. type: string
  780. goodscode:
  781. description: 商品代码
  782. type: string
  783. goodsid:
  784. description: 交易合约ID
  785. type: integer
  786. goodsname:
  787. description: 商品名称
  788. type: string
  789. marketid:
  790. description: 市场ID
  791. type: integer
  792. mindeliveryqty:
  793. description: 最小交割系数(K)
  794. type: integer
  795. p2deliveryprice:
  796. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  797. type: number
  798. p2deliveryratio:
  799. description: P2合约系数(p)
  800. type: integer
  801. p2goodsid:
  802. description: P2合约ID
  803. type: integer
  804. p2pricemode:
  805. description: P2合约价格方式 - 1:商品价 2:固定值
  806. type: integer
  807. pdeliveryprice:
  808. description: P合约价格(商品价时填写0,固定值时填写固定值)
  809. type: number
  810. pdeliveryratio:
  811. description: P合约系数(n)
  812. type: integer
  813. pgoodsid:
  814. description: P合约ID
  815. type: integer
  816. ppricemode:
  817. description: P合约价格方式 - 1:商品价 2:固定值
  818. type: integer
  819. rratio:
  820. description: 兑换系数(R)
  821. type: integer
  822. rratio1:
  823. description: 兑换系数(交易合约)(R1)
  824. type: integer
  825. rratio2:
  826. description: 兑换系数(仓单标准)(R2)
  827. type: integer
  828. selltemplateid:
  829. description: 卖履约计划模板ID
  830. type: integer
  831. wrstandardid:
  832. description: 仓单标准ID
  833. type: integer
  834. xdeliveryratio:
  835. description: 交易合约系数(m)
  836. type: integer
  837. required:
  838. - begindate
  839. - enddate
  840. - goodsid
  841. - mindeliveryqty
  842. - xdeliveryratio
  843. type: object
  844. ermcp.QryBusinessDjRsp:
  845. properties:
  846. applyid:
  847. description: 申请人
  848. type: string
  849. applyname:
  850. description: 申请人名称
  851. type: string
  852. applystatus:
  853. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  854. type: integer
  855. applytime:
  856. description: 申请时间
  857. type: string
  858. audittime:
  859. description: 审核时间
  860. type: string
  861. buyusername:
  862. description: 采购方名称
  863. type: string
  864. contractno:
  865. description: 合同编号
  866. type: string
  867. contracttype:
  868. description: 现货合同类型 - 1:采购 -1:销售
  869. type: integer
  870. enumdicname:
  871. description: 单位名称
  872. type: string
  873. goodscode:
  874. description: 点价合约
  875. type: string
  876. goodsname:
  877. description: 商品名称
  878. type: string
  879. operateapplyid:
  880. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  881. type: string
  882. operateapplytype:
  883. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  884. type: integer
  885. pricedPrice:
  886. description: 点价价格(非必填)
  887. type: number
  888. pricedQty:
  889. description: 点价数量(非必填)
  890. type: number
  891. pricemove:
  892. description: 升贴水
  893. type: number
  894. pricetype:
  895. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  896. type: integer
  897. relatedid:
  898. description: 现货合同ID
  899. type: string
  900. sellusername:
  901. description: 销售方名字
  902. type: string
  903. type: object
  904. ermcp.QryBussinessFpRsp:
  905. properties:
  906. applyid:
  907. description: 申请人
  908. type: string
  909. applyname:
  910. description: 申请人名称
  911. type: string
  912. applystatus:
  913. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  914. type: integer
  915. applytime:
  916. description: 申请时间
  917. type: string
  918. audittime:
  919. description: 审核时间
  920. type: string
  921. buyusername:
  922. description: 采购方名称
  923. type: string
  924. contractno:
  925. description: 合同编号
  926. type: string
  927. contracttype:
  928. description: 现货合同类型 - 1:采购 -1:销售
  929. type: integer
  930. enumdicname:
  931. description: 单位名称
  932. type: string
  933. goodscode:
  934. description: 点价合约
  935. type: string
  936. goodsname:
  937. description: 商品名称
  938. type: string
  939. invoiceAmount:
  940. description: 已开收票金额(销售为开票,采购为收票)
  941. type: number
  942. operateapplyid:
  943. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  944. type: string
  945. operateapplytype:
  946. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  947. type: integer
  948. pricemove:
  949. description: 升贴水
  950. type: number
  951. pricetype:
  952. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  953. type: integer
  954. relatedid:
  955. description: 现货合同ID
  956. type: string
  957. sellusername:
  958. description: 销售方名字
  959. type: string
  960. type: object
  961. ermcp.QryBussinessJsRsp:
  962. properties:
  963. addmargin:
  964. description: 追加保证金(非必填)
  965. type: number
  966. applyid:
  967. description: 申请人
  968. type: string
  969. applyname:
  970. description: 申请人名称
  971. type: string
  972. applystatus:
  973. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  974. type: integer
  975. applytime:
  976. description: 申请时间
  977. type: string
  978. audittime:
  979. description: 审核时间
  980. type: string
  981. buyusername:
  982. description: 采购方名称
  983. type: string
  984. contractno:
  985. description: 合同编号
  986. type: string
  987. contracttype:
  988. description: 现货合同类型 - 1:采购 -1:销售
  989. type: integer
  990. decmargin:
  991. description: 减少保证金(非必填)
  992. type: number
  993. enumdicname:
  994. description: 单位名称
  995. type: string
  996. goodscode:
  997. description: 点价合约
  998. type: string
  999. goodsname:
  1000. description: 商品名称
  1001. type: string
  1002. operateapplyid:
  1003. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1004. type: string
  1005. operateapplytype:
  1006. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1007. type: integer
  1008. pricemove:
  1009. description: 升贴水
  1010. type: number
  1011. pricetype:
  1012. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1013. type: integer
  1014. reckonadjustamount:
  1015. description: 结算调整金额(非必填)
  1016. type: number
  1017. reckonosamount:
  1018. description: 结算溢短金额(非必填)
  1019. type: number
  1020. reckonotheramount:
  1021. description: 结算其他费用(非必填)
  1022. type: number
  1023. reckonrealqty:
  1024. description: 结算实际数量(非必填)
  1025. type: number
  1026. relatedid:
  1027. description: 现货合同ID
  1028. type: string
  1029. sellusername:
  1030. description: 销售方名字
  1031. type: string
  1032. type: object
  1033. ermcp.QryBussinessKxRsp:
  1034. properties:
  1035. applyid:
  1036. description: 申请人
  1037. type: string
  1038. applyname:
  1039. description: 申请人名称
  1040. type: string
  1041. applystatus:
  1042. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1043. type: integer
  1044. applytime:
  1045. description: 申请时间
  1046. type: string
  1047. audittime:
  1048. description: 审核时间
  1049. type: string
  1050. buyusername:
  1051. description: 采购方名称
  1052. type: string
  1053. contractno:
  1054. description: 合同编号
  1055. type: string
  1056. contracttype:
  1057. description: 现货合同类型 - 1:采购 -1:销售
  1058. type: integer
  1059. deductamount:
  1060. description: 退款(非必填)
  1061. type: number
  1062. enumdicname:
  1063. description: 单位名称
  1064. type: string
  1065. goodscode:
  1066. description: 点价合约
  1067. type: string
  1068. goodsname:
  1069. description: 商品名称
  1070. type: string
  1071. operateapplyid:
  1072. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1073. type: string
  1074. operateapplytype:
  1075. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1076. type: integer
  1077. payamount:
  1078. description: 收付款(非必填)
  1079. type: number
  1080. pricemove:
  1081. description: 升贴水
  1082. type: number
  1083. pricetype:
  1084. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1085. type: integer
  1086. relatedid:
  1087. description: 现货合同ID
  1088. type: string
  1089. sellusername:
  1090. description: 销售方名字
  1091. type: string
  1092. type: object
  1093. ermcp.QryErmcpRsp:
  1094. $ref: '#/definitions/models.ErmcpModel'
  1095. ermcp.QryHedgePlanRsp:
  1096. $ref: '#/definitions/models.ErmcpHedgePlan'
  1097. ermcp.QrySpotContractRsp:
  1098. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1099. ermcp.QryUserInfoRsp:
  1100. $ref: '#/definitions/models.ErmcpUserModel'
  1101. erms2.QueryArbitrageStrategyRsp:
  1102. properties:
  1103. applybasis:
  1104. description: 申请基差
  1105. type: number
  1106. asapplyid:
  1107. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1108. type: string
  1109. asname:
  1110. description: 策略名称
  1111. type: string
  1112. asno:
  1113. description: 策略编号
  1114. type: string
  1115. basischangepl:
  1116. description: 基差变动损益[结算更新]
  1117. type: number
  1118. biztype:
  1119. description: 业务类型 - 1:正向套利 -1:反向套利
  1120. type: integer
  1121. closetradedate:
  1122. description: 完结交易日(yyyyMMdd)
  1123. type: string
  1124. curbasis:
  1125. description: 当前基差[结算更新]
  1126. type: number
  1127. deliverygoodsid:
  1128. description: 现货品种ID
  1129. type: integer
  1130. futureavgprice:
  1131. description: 期货建仓均价
  1132. type: number
  1133. futurecloseamount:
  1134. description: 期货平仓金额
  1135. type: number
  1136. futurecloseqty:
  1137. description: 期货平仓数量
  1138. type: number
  1139. futureopenamount:
  1140. description: 期货开仓金额
  1141. type: number
  1142. futureopenqty:
  1143. description: 期货开仓数量
  1144. type: number
  1145. futurepl:
  1146. description: 期货总盈亏[结算更新]
  1147. type: number
  1148. futureqty:
  1149. description: 期货持仓数量
  1150. type: number
  1151. futurequote:
  1152. description: 期货额度
  1153. type: number
  1154. goodsgroupid:
  1155. description: 期货品种ID
  1156. type: integer
  1157. marketid:
  1158. description: 市场ID
  1159. type: integer
  1160. netexposure:
  1161. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1162. type: number
  1163. netexposurepl:
  1164. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1165. type: number
  1166. netexposurerate:
  1167. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1168. type: number
  1169. openbasis:
  1170. description: 建仓基差
  1171. type: number
  1172. pricedspotqty:
  1173. description: 已定价现货数量
  1174. type: number
  1175. pricedspotqtynotax:
  1176. description: 已定价现货不含税数量
  1177. type: number
  1178. remark:
  1179. description: 备注
  1180. type: string
  1181. spotavgprice:
  1182. description: 现货均价
  1183. type: number
  1184. spotbuyamount:
  1185. description: 现货采购金额
  1186. type: number
  1187. spotbuyqty:
  1188. description: 现货采购数量
  1189. type: number
  1190. spotpl:
  1191. description: 现货总盈亏[结算更新]
  1192. type: number
  1193. spotquota:
  1194. description: 现货额度
  1195. type: number
  1196. spotsellamount:
  1197. description: 现货销售金额
  1198. type: number
  1199. spotsellqty:
  1200. description: 现货销售数量
  1201. type: number
  1202. spotusedquota:
  1203. description: 现货占用资金
  1204. type: number
  1205. strategystatus:
  1206. description: 策略状态 - 0:未结束 1:已结束
  1207. type: integer
  1208. totalpl:
  1209. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1210. type: number
  1211. tradedate:
  1212. description: 交易日(yyyyMMdd)
  1213. type: string
  1214. updatetime:
  1215. description: 更新时间
  1216. type: string
  1217. usedquota:
  1218. description: 已占用资金
  1219. type: number
  1220. userid:
  1221. description: 所属机构
  1222. type: integer
  1223. required:
  1224. - asapplyid
  1225. type: object
  1226. erms2.QueryInnerTradeDetailRsp:
  1227. properties:
  1228. accountid:
  1229. description: 账号ID
  1230. type: integer
  1231. agreeunit:
  1232. description: 合约单位
  1233. type: number
  1234. asapplyid:
  1235. description: 策略申请ID
  1236. type: integer
  1237. asname:
  1238. description: 策略名称
  1239. type: string
  1240. asno:
  1241. description: 策略编号
  1242. type: string
  1243. buyorsell:
  1244. description: 方向 - 0:买 1:卖
  1245. type: integer
  1246. channelbuildtype:
  1247. description: 委托单据类型 0:无 1:建仓 2:平仓
  1248. type: integer
  1249. closetype:
  1250. description: 平仓方式 - 0:无 1:平今 2:平昨
  1251. type: integer
  1252. decimalplace:
  1253. description: 报价小数位
  1254. type: integer
  1255. detailtype:
  1256. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1257. type: integer
  1258. exexchangecode:
  1259. description: 外部交易所代码
  1260. type: string
  1261. exexchangename:
  1262. description: 外部交易所名称
  1263. type: string
  1264. goodscode:
  1265. description: 商品代码(合约)
  1266. type: string
  1267. goodsgroupid:
  1268. description: 商品组ID(品种ID)
  1269. type: integer
  1270. goodsgroupname:
  1271. description: 商品组名称(品种)
  1272. type: string
  1273. goodsid:
  1274. description: 商品ID
  1275. type: integer
  1276. goodsname:
  1277. description: 商品名称(合约)
  1278. type: string
  1279. goodunit:
  1280. description: 报价单位
  1281. type: string
  1282. marketid:
  1283. description: 市场ID
  1284. type: integer
  1285. orderid:
  1286. description: 委托单号
  1287. type: string
  1288. outgoodscode:
  1289. description: 商品代码(外部)
  1290. type: string
  1291. relatedouttradeid:
  1292. description: 关联外部成交单ID
  1293. type: string
  1294. remark:
  1295. description: 备注
  1296. type: string
  1297. spotcontractid:
  1298. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1299. type: integer
  1300. spotcontractno:
  1301. description: 现货合同编号
  1302. type: string
  1303. tradeid:
  1304. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1305. type: string
  1306. tradeprice:
  1307. description: 成交价格
  1308. type: number
  1309. tradeqty:
  1310. description: 成交数量
  1311. type: integer
  1312. tradetime:
  1313. description: 成交时间
  1314. type: string
  1315. updatetime:
  1316. description: 更新时间
  1317. type: string
  1318. required:
  1319. - asapplyid
  1320. - buyorsell
  1321. - goodscode
  1322. - goodsgroupid
  1323. - goodsgroupname
  1324. - goodsname
  1325. - tradeid
  1326. type: object
  1327. erms2.QuerySpotContractRsp:
  1328. properties:
  1329. accountid:
  1330. description: 资金账户ID
  1331. type: integer
  1332. areauserid:
  1333. description: 所属机构
  1334. type: integer
  1335. closedate:
  1336. description: 终止日期
  1337. type: string
  1338. closeremark:
  1339. description: 结束备注
  1340. type: string
  1341. closetradedate:
  1342. description: 完结交易日(yyyyMMdd)
  1343. type: string
  1344. closetype:
  1345. description: 终止类型 - 1:违约 2:提前终止
  1346. type: integer
  1347. contractamount:
  1348. description: 合同金额
  1349. type: number
  1350. contractattachment:
  1351. description: 合同附件
  1352. type: string
  1353. contractno:
  1354. description: 现货合同编号
  1355. type: string
  1356. contractqty:
  1357. description: 合同数量(数值) (用于计算)
  1358. type: number
  1359. contractqtychar:
  1360. description: 合同数量\已订价数量 (用于显示)
  1361. type: string
  1362. contractstatus:
  1363. description: 合同状态 - 0:未结束 1:已结束
  1364. type: integer
  1365. contracttype:
  1366. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1367. type: integer
  1368. customeraccountid:
  1369. description: 客户资金账户ID
  1370. type: integer
  1371. customeruserid:
  1372. description: 客户ID
  1373. type: integer
  1374. deliverygoodsdesc:
  1375. description: 品种说明
  1376. type: string
  1377. deliverygoodsid:
  1378. description: 现货品种ID
  1379. type: integer
  1380. handlestatus:
  1381. description: 处理状态
  1382. type: integer
  1383. invoiceatt:
  1384. description: 发票附件
  1385. type: string
  1386. invoicedatetime:
  1387. description: 开收票更新时间
  1388. type: string
  1389. invoiceopentime:
  1390. description: 开票时间
  1391. type: string
  1392. invoiceremark:
  1393. description: 发票备注
  1394. type: string
  1395. invoicestatus:
  1396. description: 开收票状态 - 0:未开票 1:已开票
  1397. type: integer
  1398. lastdate:
  1399. description: 交货时间
  1400. type: string
  1401. marketid:
  1402. description: 市场ID
  1403. type: integer
  1404. paydatetime:
  1405. description: 收付款更新时间
  1406. type: string
  1407. payremark:
  1408. description: 收付款备注
  1409. type: string
  1410. paystatus:
  1411. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1412. type: integer
  1413. positionqty:
  1414. description: 头寸数量 - 合同数量去小数部分
  1415. type: integer
  1416. producttype:
  1417. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1418. type: integer
  1419. relatedqty:
  1420. description: 已关联数量
  1421. type: number
  1422. relatedstatus:
  1423. description: 关联完结状态 - 0:未结束 1:已结束
  1424. type: integer
  1425. remark:
  1426. description: 备注
  1427. type: string
  1428. signdate:
  1429. description: 签订日期
  1430. type: string
  1431. spotcontractid:
  1432. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1433. type: string
  1434. spotdatetime:
  1435. description: 收发货更新时间
  1436. type: string
  1437. spotprice:
  1438. description: 价格
  1439. type: number
  1440. spotremark:
  1441. description: 收发货备注
  1442. type: string
  1443. spotstatus:
  1444. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1445. type: integer
  1446. tradedate:
  1447. description: 交易日(yyyyMMdd)
  1448. type: string
  1449. userid:
  1450. description: 业务员用户ID
  1451. type: integer
  1452. warehouseid:
  1453. description: 仓库ID
  1454. type: integer
  1455. wrfactortypeid:
  1456. description: 仓单要素类型ID
  1457. type: integer
  1458. wrstandardid:
  1459. description: 仓单标准ID(SEQ_WRSTANDARD)
  1460. type: integer
  1461. required:
  1462. - spotcontractid
  1463. type: object
  1464. erms3.AddErms2ASApplyReq:
  1465. properties:
  1466. applybasis:
  1467. description: 申请基差
  1468. type: number
  1469. applystatus:
  1470. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1471. type: integer
  1472. asapplyid:
  1473. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1474. type: integer
  1475. asname:
  1476. description: 策略名称
  1477. type: string
  1478. asno:
  1479. description: 策略编号
  1480. type: string
  1481. auditid:
  1482. description: 审核人
  1483. type: integer
  1484. auditremark:
  1485. description: 审核备注
  1486. type: string
  1487. audittime:
  1488. description: 审核时间
  1489. type: string
  1490. biztype:
  1491. description: 业务类型 - 1:正向套利 2:反向套利
  1492. type: integer
  1493. createtime:
  1494. description: 创建时间
  1495. type: string
  1496. creatorid:
  1497. description: 创建人
  1498. type: integer
  1499. deliverygoodsid:
  1500. description: 现货品种ID
  1501. type: integer
  1502. futurequote:
  1503. description: 期货额度
  1504. type: number
  1505. goodsgroupid:
  1506. description: 期货品种ID
  1507. type: integer
  1508. marketid:
  1509. description: 市场ID
  1510. type: integer
  1511. remark:
  1512. description: 备注
  1513. type: string
  1514. spotquota:
  1515. description: 现货额度
  1516. type: number
  1517. tradedate:
  1518. description: 交易日(yyyyMMdd)
  1519. type: string
  1520. userid:
  1521. description: 所属机构
  1522. type: integer
  1523. required:
  1524. - asapplyid
  1525. type: object
  1526. erms3.AddErms2SpotTradeApplyReq:
  1527. properties:
  1528. applyjsondetail:
  1529. description: 申请明细(JSON)
  1530. type: string
  1531. applystatus:
  1532. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1533. type: integer
  1534. areauserid:
  1535. description: 所属机构
  1536. type: integer
  1537. auditid:
  1538. description: 审核人
  1539. type: integer
  1540. auditremark:
  1541. description: 审核备注
  1542. type: string
  1543. audittime:
  1544. description: 审核时间
  1545. type: string
  1546. createtime:
  1547. description: 创建时间
  1548. type: string
  1549. creatorid:
  1550. description: 创建人
  1551. type: integer
  1552. deliverygoodsid:
  1553. description: 现货品种ID
  1554. type: integer
  1555. futureaccountid:
  1556. description: 期货资金账户
  1557. type: integer
  1558. goodsgroupid:
  1559. description: 期货品种
  1560. type: integer
  1561. marketid:
  1562. description: 市场ID
  1563. type: integer
  1564. remark:
  1565. description: 备注
  1566. type: string
  1567. spotaccountid:
  1568. description: 现货资金账户
  1569. type: integer
  1570. spottradeid:
  1571. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1572. type: integer
  1573. spottradename:
  1574. description: 业务名称
  1575. type: string
  1576. spottradeno:
  1577. description: 业务编号
  1578. type: string
  1579. tradedate:
  1580. description: 交易日(yyyyMMdd)
  1581. type: string
  1582. wrstandardid:
  1583. description: 仓单标准ID
  1584. type: integer
  1585. required:
  1586. - spottradeid
  1587. type: object
  1588. erms3.AddSpotContractApplyReq:
  1589. properties:
  1590. accountid:
  1591. description: 资金账户ID
  1592. type: integer
  1593. areauserid:
  1594. description: 所属机构
  1595. type: integer
  1596. contractattachment:
  1597. description: 合同附件
  1598. type: string
  1599. contractno:
  1600. description: 现货合同编号
  1601. type: string
  1602. contracttype:
  1603. description: 现货合同类型 - 1:采购 -1:销售
  1604. type: integer
  1605. creatorid:
  1606. description: 申请人
  1607. type: integer
  1608. customeraccountid:
  1609. description: 客户资金账户ID
  1610. type: integer
  1611. customeruserid:
  1612. description: 客户ID
  1613. type: integer
  1614. details:
  1615. description: 明细
  1616. items:
  1617. $ref: '#/definitions/erms3.SoptContractDetail'
  1618. type: array
  1619. orimargin:
  1620. description: 初始保证金
  1621. type: number
  1622. remark:
  1623. description: 备注
  1624. type: string
  1625. signdate:
  1626. description: 签订日期
  1627. type: string
  1628. required:
  1629. - accountid
  1630. - areauserid
  1631. - contractno
  1632. - contracttype
  1633. - customeraccountid
  1634. - customeruserid
  1635. - details
  1636. - orimargin
  1637. - signdate
  1638. type: object
  1639. erms3.AddSpotContractApplyRsp:
  1640. properties:
  1641. contractno:
  1642. description: 现货合同编号
  1643. type: string
  1644. spotcontractid:
  1645. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  1646. type: integer
  1647. required:
  1648. - contractno
  1649. type: object
  1650. erms3.AddUserInfoApplyReq:
  1651. properties:
  1652. accountid:
  1653. description: 交易系统帐号Id (加密存储)
  1654. type: integer
  1655. areacode:
  1656. description: 机构代码
  1657. type: string
  1658. areaid:
  1659. description: 机构Id
  1660. type: integer
  1661. attachment1:
  1662. description: 附件1
  1663. type: string
  1664. attachment2:
  1665. description: 附件2
  1666. type: string
  1667. attachment3:
  1668. description: 附件3
  1669. type: string
  1670. attachment4:
  1671. description: 附件4
  1672. type: string
  1673. attachment5:
  1674. description: 附件5
  1675. type: string
  1676. auditedby:
  1677. description: 审核人
  1678. type: string
  1679. auditime:
  1680. description: 审核时间
  1681. type: string
  1682. bankaccount:
  1683. description: 银行帐号 (加密存储)
  1684. type: string
  1685. bankaccountname:
  1686. description: 收款人名称
  1687. type: string
  1688. bankcardbackphotourl:
  1689. description: 银行卡背面照地址
  1690. type: string
  1691. bankcardfrontphotourl:
  1692. description: 银行卡正面照地址
  1693. type: string
  1694. bankid:
  1695. description: 银行编码
  1696. type: string
  1697. bankname:
  1698. description: 银行名称
  1699. type: string
  1700. bankpictureurl:
  1701. description: 银行卡正面地址
  1702. type: string
  1703. biznature:
  1704. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1705. type: integer
  1706. bizscope:
  1707. description: 企业经营范围(企业)
  1708. type: string
  1709. biztype:
  1710. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  1711. type: integer
  1712. brokerid:
  1713. description: 经纪人ID(加密存储)
  1714. type: string
  1715. cardaddress:
  1716. description: 证件地址 (加密存储)
  1717. type: string
  1718. cardbackphotourl:
  1719. description: 背面证件照地址
  1720. type: string
  1721. cardfrontphotourl:
  1722. description: 正面证件照地址
  1723. type: string
  1724. cardnum:
  1725. description: 证件号码 (加密存储)
  1726. type: string
  1727. cardtype:
  1728. description: 证件类型
  1729. type: integer
  1730. cityid:
  1731. description: 市
  1732. type: integer
  1733. company:
  1734. description: 公司(个人)
  1735. type: string
  1736. contactcardbackphotourl:
  1737. description: 联系人证件背面图片地址
  1738. type: string
  1739. contactcardfrontphotourl:
  1740. description: 联系人证件正面图片地址
  1741. type: string
  1742. contactname:
  1743. description: 联系人
  1744. type: string
  1745. countryid:
  1746. description: 国家
  1747. type: integer
  1748. createtime:
  1749. description: 开户申请时间
  1750. type: string
  1751. cusbankid:
  1752. description: 签约类型
  1753. type: string
  1754. cusbankname:
  1755. description: 签约类型名称
  1756. type: string
  1757. customername:
  1758. description: 客户名称(企业名称)
  1759. type: string
  1760. districtid:
  1761. description: 地区
  1762. type: integer
  1763. email:
  1764. description: Email地址(加密存储)
  1765. type: string
  1766. halfbodyphotourl:
  1767. description: 半身照地址
  1768. type: string
  1769. headurl:
  1770. description: 头像地址
  1771. type: string
  1772. ipaddress:
  1773. description: IP地址
  1774. type: string
  1775. isvalidate:
  1776. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  1777. type: string
  1778. legalcardbackphotourl:
  1779. description: 法人身份证背面照地址
  1780. type: string
  1781. legalcardfrontphotourl:
  1782. description: 法人身份证正面照地址
  1783. type: string
  1784. legalpersonname:
  1785. description: 法人姓名(企业)
  1786. type: string
  1787. logincode:
  1788. description: 登录帐号 (加密存储)
  1789. type: string
  1790. memberareaid:
  1791. description: 所属会员ID
  1792. type: integer
  1793. mobile2:
  1794. description: 手机号码[明文-尚志]
  1795. type: string
  1796. mobilephone:
  1797. description: 手机号码 (加密存储)
  1798. type: string
  1799. modifiedby:
  1800. description: 修改人帐号
  1801. type: integer
  1802. modifiedtime:
  1803. description: 修改时间
  1804. type: string
  1805. nickname:
  1806. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  1807. type: string
  1808. openmode:
  1809. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  1810. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  1811. type: integer
  1812. otherurl:
  1813. description: 其它图片地址[使用分号分隔]
  1814. type: string
  1815. postalcode:
  1816. description: 邮政编码
  1817. type: string
  1818. provinceid:
  1819. description: 省
  1820. type: integer
  1821. proxystatementurl:
  1822. description: 授权委托书
  1823. type: string
  1824. qq:
  1825. description: QQ(加密存储
  1826. type: string
  1827. referral:
  1828. description: 推荐人编码
  1829. type: string
  1830. remark:
  1831. description: 备注
  1832. type: string
  1833. removebeforestatus:
  1834. description: REMOVEBEFORESTATUS
  1835. type: integer
  1836. sex:
  1837. description: 性别 - 0:女 1:男
  1838. type: integer
  1839. signedstatus:
  1840. description: 账户一号签签约状态
  1841. type: integer
  1842. signpdfurl:
  1843. description: 签约pdf文件
  1844. type: string
  1845. subbranch:
  1846. description: 开户支行
  1847. type: string
  1848. telphone:
  1849. description: 联系电话(加密存储)
  1850. type: string
  1851. userid:
  1852. description: 用户ID(自增ID)
  1853. type: integer
  1854. userinfotype:
  1855. description: 用户信息类型 - 1:个人 2:企业
  1856. type: integer
  1857. username:
  1858. description: 用户姓名
  1859. type: string
  1860. userstate:
  1861. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  1862. type: integer
  1863. usertype:
  1864. description: 用户类型 - 1:投资者 2:机构
  1865. type: integer
  1866. videourl:
  1867. description: 视频地址
  1868. type: string
  1869. wechat:
  1870. description: 微信号 (加密存储)
  1871. type: string
  1872. required:
  1873. - userid
  1874. type: object
  1875. erms3.CustomerInfo:
  1876. properties:
  1877. accountids:
  1878. description: 资金账户ID列表
  1879. items:
  1880. type: integer
  1881. type: array
  1882. customername:
  1883. description: 名称(企业名称)
  1884. type: string
  1885. mobile:
  1886. description: 手机号码
  1887. type: string
  1888. userid:
  1889. description: 用户ID
  1890. type: integer
  1891. required:
  1892. - userid
  1893. type: object
  1894. erms3.QryAuditContractRsp:
  1895. properties:
  1896. accountid:
  1897. description: 交易员ID
  1898. type: string
  1899. applystatus:
  1900. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1901. type: integer
  1902. curdeliveryqty:
  1903. description: 未交收量
  1904. type: integer
  1905. customername:
  1906. description: 采购方ID
  1907. type: string
  1908. deliverygoodsid:
  1909. description: 品种ID
  1910. type: string
  1911. deliveryqty:
  1912. description: 交收量
  1913. type: integer
  1914. enumdicname:
  1915. description: 单位名称
  1916. type: string
  1917. matchaccountid:
  1918. description: 业务员ID
  1919. type: string
  1920. matchcustomername:
  1921. description: 销售方ID
  1922. type: string
  1923. pricedqty:
  1924. description: 定价量
  1925. type: number
  1926. signdate:
  1927. description: 签订日期
  1928. type: string
  1929. spotcontractid:
  1930. description: 合同ID
  1931. type: string
  1932. totaldqty:
  1933. description: 合同量
  1934. type: number
  1935. unpricedqty:
  1936. description: 未定价量
  1937. type: number
  1938. wrstandardname:
  1939. description: 商品名称
  1940. type: string
  1941. required:
  1942. - matchcustomername
  1943. - spotcontractid
  1944. type: object
  1945. erms3.QryPendingBizRsp:
  1946. $ref: '#/definitions/models.PendingAuditBizModel'
  1947. erms3.QueryBusinessInfoRsp:
  1948. properties:
  1949. businessid:
  1950. description: 业务ID.
  1951. type: integer
  1952. buyamount:
  1953. description: 采购额.
  1954. type: number
  1955. buyqty:
  1956. description: 采购量.
  1957. type: string
  1958. futurepl:
  1959. description: 期货盈亏.
  1960. type: number
  1961. futureqty:
  1962. description: 期货敞口.
  1963. type: string
  1964. goodsid:
  1965. description: 商品名称/商品代码.
  1966. type: string
  1967. hedgingqty:
  1968. description: 套保量.
  1969. type: string
  1970. sellamount:
  1971. description: 销售额.
  1972. type: number
  1973. sellqty:
  1974. description: 销售量.
  1975. type: string
  1976. spotmarketvalue:
  1977. description: 现货市值.
  1978. type: number
  1979. spotpl:
  1980. description: 浮动权益.
  1981. type: number
  1982. spotqty:
  1983. description: 现货量.
  1984. type: string
  1985. statu:
  1986. description: 状态,0-未结束 1-已结束.
  1987. type: integer
  1988. totalpl:
  1989. description: 总盈亏.
  1990. type: number
  1991. totalqty:
  1992. description: 总敞口.
  1993. type: string
  1994. type:
  1995. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  1996. type: integer
  1997. type: object
  1998. erms3.QuerySpotContractAppleFormRsp:
  1999. properties:
  2000. goodses:
  2001. description: 合约列表
  2002. items:
  2003. $ref: '#/definitions/models.GoodsIDAndName'
  2004. type: array
  2005. oppositeusers:
  2006. description: 对方账号列表
  2007. items:
  2008. $ref: '#/definitions/erms3.CustomerInfo'
  2009. type: array
  2010. ouruser:
  2011. $ref: '#/definitions/erms3.CustomerInfo'
  2012. description: 我方账号
  2013. type: object
  2014. warehouseinfos:
  2015. description: 仓库信息列表
  2016. items:
  2017. $ref: '#/definitions/models.Warehouseinfo'
  2018. type: array
  2019. wrstandards:
  2020. description: 仓单标准列表
  2021. items:
  2022. $ref: '#/definitions/models.WRStandardInfo'
  2023. type: array
  2024. type: object
  2025. erms3.QuerySpotContractInfoRsp:
  2026. properties:
  2027. accountid:
  2028. description: 表示交易员ID.
  2029. type: integer
  2030. curdeliveryqty:
  2031. description: 表示未交收量.
  2032. type: number
  2033. customername:
  2034. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2035. type: string
  2036. deliverygoodsid:
  2037. description: 表示品种ID.
  2038. type: string
  2039. deliveryqty:
  2040. description: 表示交收量.
  2041. type: number
  2042. matchaccountid:
  2043. description: 表示业务员ID.
  2044. type: integer
  2045. matchcustomername:
  2046. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2047. type: string
  2048. priceqty:
  2049. description: 表示定价量.
  2050. type: number
  2051. relatedbizid:
  2052. description: 表示业务ID.
  2053. type: string
  2054. signdate:
  2055. description: 表示签订日期.
  2056. type: string
  2057. spotcontractid:
  2058. description: 合同ID
  2059. type: string
  2060. status:
  2061. description: 表示状态,0-履约中 1-已完成.
  2062. type: integer
  2063. totalqty:
  2064. description: 表示合同量.
  2065. type: number
  2066. unpricedqty:
  2067. description: 表示未定价量.
  2068. type: number
  2069. wrstandardname:
  2070. description: 表示商品ID.
  2071. type: string
  2072. type: object
  2073. erms3.QueryUserInfoAppliesRsp:
  2074. properties:
  2075. biznature:
  2076. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2077. type: integer
  2078. contactname:
  2079. description: 联系人
  2080. type: string
  2081. createtime:
  2082. description: 开户申请时间
  2083. type: string
  2084. userid:
  2085. description: 用户ID(自增ID)
  2086. type: integer
  2087. userinfotype:
  2088. description: 用户信息类型 - 1:个人 2:企业
  2089. type: integer
  2090. username:
  2091. description: 用户姓名
  2092. type: string
  2093. userstate:
  2094. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2095. type: integer
  2096. required:
  2097. - userid
  2098. type: object
  2099. erms3.QueryUserInfosRsp:
  2100. properties:
  2101. biznature:
  2102. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2103. type: integer
  2104. contactname:
  2105. description: 联系人
  2106. type: string
  2107. customername:
  2108. description: 客户名称(企业名称)
  2109. type: string
  2110. userid:
  2111. description: 用户ID
  2112. type: integer
  2113. userinfotype:
  2114. description: 用户信息类型 - 1:个人 2:企业
  2115. type: integer
  2116. userstatus:
  2117. description: 用户状态 - 1:正常 2:注销
  2118. type: integer
  2119. required:
  2120. - userid
  2121. type: object
  2122. erms3.SoptContractDetail:
  2123. properties:
  2124. deliverygoodsdesc:
  2125. description: 现货品种说明
  2126. type: string
  2127. deliverygoodsid:
  2128. description: 现货品种ID
  2129. type: integer
  2130. deliverygoodsname:
  2131. description: 现货品种名称
  2132. type: string
  2133. pointdesc:
  2134. description: 点价描述
  2135. type: string
  2136. producttype:
  2137. description: 产品类型 1:标准仓单 2:等标 3:非标
  2138. type: integer
  2139. producttypename:
  2140. description: 产品类型名称
  2141. type: string
  2142. spotPointOrderVoList:
  2143. description: 点价列表
  2144. items:
  2145. $ref: '#/definitions/erms3.SpotPointOrder'
  2146. type: array
  2147. spotPriceOrderList:
  2148. description: 定价列表
  2149. items:
  2150. $ref: '#/definitions/erms3.SpotPriceOrder'
  2151. type: array
  2152. unitname:
  2153. description: 单位名称
  2154. type: string
  2155. warehouseid:
  2156. description: 仓库ID
  2157. type: integer
  2158. warehousename:
  2159. description: 仓库名称
  2160. type: string
  2161. wrstandardid:
  2162. description: 交易标的ID
  2163. type: integer
  2164. wrstandardname:
  2165. description: 交易标的名称
  2166. type: string
  2167. required:
  2168. - deliverygoodsid
  2169. - producttype
  2170. - unitname
  2171. - warehouseid
  2172. - wrstandardid
  2173. - wrstandardname
  2174. type: object
  2175. erms3.SpotPointOrder:
  2176. properties:
  2177. basic:
  2178. description: 基差
  2179. type: number
  2180. deliveryenddate:
  2181. description: 交收结束日期
  2182. type: string
  2183. deliverystartdate:
  2184. description: 交收开始日期
  2185. type: string
  2186. enddate:
  2187. description: 点价结束日期
  2188. type: string
  2189. goodsid:
  2190. description: 商品ID
  2191. type: integer
  2192. goodsname:
  2193. description: 商品名称
  2194. type: string
  2195. qty:
  2196. description: 数量
  2197. type: number
  2198. startdate:
  2199. description: 点价开始日期
  2200. type: string
  2201. required:
  2202. - basic
  2203. - goodsid
  2204. - qty
  2205. type: object
  2206. erms3.SpotPriceOrder:
  2207. properties:
  2208. amount:
  2209. description: 金额
  2210. type: number
  2211. deliveryenddate:
  2212. description: 交收结束日期
  2213. type: string
  2214. deliverystartdate:
  2215. description: 交收开始日期
  2216. type: string
  2217. price:
  2218. description: 价格
  2219. type: number
  2220. qty:
  2221. description: 数量
  2222. type: number
  2223. required:
  2224. - amount
  2225. - price
  2226. - qty
  2227. type: object
  2228. hsby.GetHsbyMyCountRsp:
  2229. properties:
  2230. myCouponCount:
  2231. description: 我的优惠卷数量
  2232. type: integer
  2233. myOrderDetailListingCount:
  2234. description: 我的订单求购中数量
  2235. type: integer
  2236. myOrderDetailPreCount:
  2237. description: 我的订单抢购中数量
  2238. type: integer
  2239. myPackageUnReceiveCount:
  2240. description: 我的包裹待收货数量
  2241. type: integer
  2242. myPackageUnSendCount:
  2243. description: 我的包裹待发货数量
  2244. type: integer
  2245. myPayOrderCount:
  2246. description: 我的订单待付款数量
  2247. type: integer
  2248. type: object
  2249. hsby.QueryProvincesAndCitiesRsp:
  2250. properties:
  2251. cities:
  2252. description: 市
  2253. items:
  2254. $ref: '#/definitions/models.Division'
  2255. type: array
  2256. province:
  2257. $ref: '#/definitions/models.Division'
  2258. description: 省
  2259. type: object
  2260. type: object
  2261. models.Division:
  2262. properties:
  2263. autoid:
  2264. description: 自增ID
  2265. type: integer
  2266. divisioncode:
  2267. description: 行政代码
  2268. type: string
  2269. divisionlevel:
  2270. description: 行政级别
  2271. type: string
  2272. divisionname:
  2273. description: 行政名称
  2274. type: string
  2275. modifierid:
  2276. description: 修改人
  2277. type: integer
  2278. modifytime:
  2279. description: 修改时间
  2280. type: string
  2281. parentcode:
  2282. description: 上级行政代码
  2283. type: string
  2284. pathname:
  2285. description: 路径名称
  2286. type: string
  2287. postcode:
  2288. description: 邮政编码
  2289. type: string
  2290. separablename:
  2291. description: 可拆分的全称
  2292. type: string
  2293. shortcode:
  2294. description: 地区简码
  2295. type: string
  2296. required:
  2297. - autoid
  2298. - divisioncode
  2299. type: object
  2300. models.Enumdicitem:
  2301. properties:
  2302. autoid:
  2303. description: 自增ID
  2304. type: integer
  2305. bankmappedvalue:
  2306. description: 银行服务对应值
  2307. type: string
  2308. enumdiccode:
  2309. description: 所属枚举代码
  2310. type: string
  2311. enumdicid:
  2312. description: 所属枚举ID
  2313. type: integer
  2314. enumdicname:
  2315. description: 枚举项名称
  2316. type: string
  2317. enumitemname:
  2318. description: 枚举项值
  2319. type: integer
  2320. enumitemstatus:
  2321. description: 枚举项状态 - 1.启用 2.不启用
  2322. type: integer
  2323. enumitemvalue:
  2324. description: 通用值 - [币种通用简写]
  2325. type: string
  2326. param1:
  2327. description: 参数1[币种:币种小数位]
  2328. type: string
  2329. param2:
  2330. description: 参数1[币种:币种显示单位]
  2331. type: string
  2332. remark:
  2333. description: 备注
  2334. type: string
  2335. required:
  2336. - autoid
  2337. - enumdiccode
  2338. - enumdicid
  2339. - enumitemname
  2340. type: object
  2341. models.ErmcpHedgePlan:
  2342. properties:
  2343. contracttype:
  2344. description: 计划类型 - 1:采购 -1:销售
  2345. type: integer
  2346. convertfactor:
  2347. description: 标仓系数
  2348. type: number
  2349. deliverygoodsid:
  2350. description: 现货品种ID
  2351. type: integer
  2352. deliverygoodsname:
  2353. description: 现货品种名称
  2354. type: string
  2355. hedgeplanid:
  2356. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  2357. type: string
  2358. hedgeplanno:
  2359. description: 套保计划编号
  2360. type: string
  2361. hedgeplanstatus:
  2362. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2363. type: integer
  2364. planqty:
  2365. description: 计划数量
  2366. type: number
  2367. plantime:
  2368. description: 计划时间
  2369. type: string
  2370. producttype:
  2371. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2372. type: integer
  2373. remark:
  2374. description: 备注
  2375. type: string
  2376. spotgoodsdesc:
  2377. description: 商品型号
  2378. type: string
  2379. wrstandardid:
  2380. description: 现货商品ID
  2381. type: integer
  2382. wrstandardname:
  2383. description: 现货商品名称
  2384. type: string
  2385. type: object
  2386. models.ErmcpModel:
  2387. properties:
  2388. accountid:
  2389. description: 账户ID
  2390. type: string
  2391. accountname:
  2392. description: 账户名称
  2393. type: string
  2394. contracctstatus:
  2395. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2396. type: integer
  2397. convertfactor:
  2398. description: 标仓系数
  2399. type: number
  2400. daikaiamount:
  2401. description: 待开票额
  2402. type: number
  2403. deliveryenddate:
  2404. description: 交割结束日
  2405. type: string
  2406. deliverygoodscode:
  2407. description: 现货商品代码
  2408. type: string
  2409. deliverygoodsid:
  2410. description: 现货商品ID
  2411. type: integer
  2412. deliverygoodsname:
  2413. description: 现货商品名称
  2414. type: string
  2415. deliverystartdate:
  2416. description: 交割开始日
  2417. type: string
  2418. enddate:
  2419. description: 点价结束日
  2420. type: string
  2421. enumdicname:
  2422. description: 单位名称
  2423. type: string
  2424. goodscode:
  2425. description: 点价商品代码
  2426. type: string
  2427. goodsid:
  2428. description: 点价商品ID
  2429. type: integer
  2430. invoiceamount:
  2431. description: 已开票额
  2432. type: number
  2433. payamount:
  2434. description: 已收付额(收款或付款)
  2435. type: number
  2436. pricedqty:
  2437. description: 已定价量
  2438. type: number
  2439. pricemove:
  2440. description: 升贴水
  2441. type: number
  2442. pricetype:
  2443. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2444. type: integer
  2445. producttype:
  2446. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2447. type: integer
  2448. qty:
  2449. description: 合同量
  2450. type: number
  2451. spotcontractid:
  2452. description: 合同ID
  2453. type: string
  2454. spotgoodsdesc:
  2455. description: 商品型号(商品规格)
  2456. type: string
  2457. startdate:
  2458. description: 点价开始日
  2459. type: string
  2460. unpayamount:
  2461. description: 待支收额(支付或收款)
  2462. type: number
  2463. unpricedqty:
  2464. description: 未定价量
  2465. type: number
  2466. unsureqty:
  2467. description: 未确定量
  2468. type: number
  2469. type: object
  2470. models.ErmcpSpotContractModel:
  2471. properties:
  2472. amount:
  2473. description: 金额 [1:一口价、3:暂定价]
  2474. type: number
  2475. buyuserid:
  2476. description: 采购方ID
  2477. type: integer
  2478. buyusername:
  2479. description: 采购方名称
  2480. type: string
  2481. contracctstatus:
  2482. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2483. type: integer
  2484. contractno:
  2485. description: 现货合同编号
  2486. type: string
  2487. contracttype:
  2488. description: 现货合同类型 - 1:采购 -1:销售
  2489. type: integer
  2490. convertfactor:
  2491. description: 标仓系数
  2492. type: number
  2493. deliveryenddate:
  2494. description: 交收期(结束)
  2495. type: string
  2496. deliverygoodscode:
  2497. description: 现货品种代码
  2498. type: string
  2499. deliverygoodsid:
  2500. description: 现货品种ID
  2501. type: integer
  2502. deliverygoodsname:
  2503. description: 现货品种名称
  2504. type: string
  2505. deliverystartdate:
  2506. description: 交收期(开始)
  2507. type: string
  2508. enddate:
  2509. description: 点价结束日期 [2:点价 3:暂定价]
  2510. type: string
  2511. enumdicname:
  2512. description: 单位名称
  2513. type: string
  2514. goodscode:
  2515. description: 点价合约代码
  2516. type: string
  2517. goodsid:
  2518. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  2519. type: integer
  2520. margin:
  2521. description: 当前保证金
  2522. type: number
  2523. price:
  2524. description: 价格\暂定价 [1:一口价、3:暂定价]
  2525. type: number
  2526. pricemove:
  2527. description: 升贴水 [2:点价 3:暂定价]
  2528. type: number
  2529. pricetype:
  2530. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2531. type: integer
  2532. producttype:
  2533. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2534. type: integer
  2535. qty:
  2536. description: 数量
  2537. type: number
  2538. selluserid:
  2539. description: 销售方ID
  2540. type: integer
  2541. sellusername:
  2542. description: 销售方名称
  2543. type: string
  2544. spotcontractid:
  2545. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  2546. type: string
  2547. spotgoodsdesc:
  2548. description: 商品型号
  2549. type: string
  2550. startdate:
  2551. description: 点价开始日期 [2:点价 3:暂定价]
  2552. type: string
  2553. type: object
  2554. models.ErmcpUserModel:
  2555. properties:
  2556. address:
  2557. description: 通讯地址
  2558. type: string
  2559. cardnum:
  2560. description: 证件号码
  2561. type: string
  2562. cardtype:
  2563. description: 证件类型
  2564. type: string
  2565. customername:
  2566. description: 企业名称
  2567. type: string
  2568. mobile:
  2569. description: 手机号码
  2570. type: string
  2571. remark:
  2572. description: 备注
  2573. type: string
  2574. status:
  2575. description: 账户状态
  2576. type: string
  2577. telphone:
  2578. description: 联系电话
  2579. type: string
  2580. userinfotype:
  2581. description: 客户类型
  2582. type: string
  2583. type: object
  2584. models.GoodsIDAndName:
  2585. properties:
  2586. goodscode:
  2587. description: 商品代码(内部)
  2588. type: string
  2589. goodsid:
  2590. description: 商品ID(自增ID SEQ_GOODS)
  2591. type: integer
  2592. goodsname:
  2593. description: 商品名称
  2594. type: string
  2595. marketid:
  2596. description: 所属市场ID
  2597. type: integer
  2598. required:
  2599. - goodscode
  2600. - goodsid
  2601. - goodsname
  2602. - marketid
  2603. type: object
  2604. models.HsbyBuyMyPayOrder:
  2605. properties:
  2606. agreeunit:
  2607. description: 合约单位
  2608. type: number
  2609. buyaccountid:
  2610. description: 买方账号ID[报价币种]
  2611. type: integer
  2612. buyorderid:
  2613. description: 买方委托单号
  2614. type: string
  2615. createtime:
  2616. description: 创建时间
  2617. type: string
  2618. currencysign:
  2619. description: 货币符号
  2620. type: string
  2621. decimalplace:
  2622. description: 报价小数位
  2623. type: integer
  2624. goodscode:
  2625. description: 商品代码(内部)
  2626. type: string
  2627. goodsid:
  2628. description: 商品ID
  2629. type: integer
  2630. goodsname:
  2631. description: 商品名称
  2632. type: string
  2633. marketid:
  2634. description: 市场ID
  2635. type: integer
  2636. offamount:
  2637. description: 优惠金额
  2638. type: number
  2639. payamount:
  2640. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  2641. type: number
  2642. payflag:
  2643. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  2644. type: integer
  2645. paylimitedtime:
  2646. description: 支付期限
  2647. type: string
  2648. paytime:
  2649. description: 付款时间
  2650. type: string
  2651. picurls1:
  2652. description: 预售商品介绍图片[多张用逗号分隔]
  2653. type: string
  2654. picurls2:
  2655. description: 挂牌商品介绍图片[多张用逗号分隔]
  2656. type: string
  2657. sellaccountid:
  2658. description: 卖方账号ID[报价币种]
  2659. type: integer
  2660. sellorderid:
  2661. description: 卖方委托单号
  2662. type: string
  2663. tradeamount:
  2664. description: 成交金额
  2665. type: number
  2666. tradecharge:
  2667. description: 成交手续费(买方)
  2668. type: number
  2669. tradedate:
  2670. description: 交易日(yyyyMMdd)
  2671. type: string
  2672. tradeid:
  2673. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2674. type: string
  2675. trademode:
  2676. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2677. 21:竞拍-大宗式 22:受托竞价
  2678. type: integer
  2679. tradeprice:
  2680. description: 成交价格
  2681. type: number
  2682. tradeqty:
  2683. description: 成交数量
  2684. type: integer
  2685. vendorname1:
  2686. description: 预售商品供应商名称
  2687. type: string
  2688. vendorname2:
  2689. description: 挂牌商品供应商名称
  2690. type: string
  2691. required:
  2692. - goodscode
  2693. - goodsname
  2694. - tradeid
  2695. - trademode
  2696. type: object
  2697. models.HsbyBuyMyTradeDetail:
  2698. properties:
  2699. accountid:
  2700. description: 账户ID[报价币种]
  2701. type: integer
  2702. agreeunit:
  2703. description: 合约单位
  2704. type: number
  2705. amount:
  2706. description: 金额 = 价格 * 数量 * 合约单位
  2707. type: number
  2708. buyorsell:
  2709. description: 买卖 - 0:买 1:卖
  2710. type: integer
  2711. currencysign:
  2712. description: 货币符号
  2713. type: string
  2714. decimalplace:
  2715. description: 报价小数位
  2716. type: integer
  2717. goodscode:
  2718. description: 商品代码(内部)
  2719. type: string
  2720. goodsid:
  2721. description: 商品ID
  2722. type: integer
  2723. goodsname:
  2724. description: 商品名称
  2725. type: string
  2726. marketid:
  2727. description: 市场ID
  2728. type: integer
  2729. orderid:
  2730. description: 单号(成交单号)
  2731. type: string
  2732. picurls1:
  2733. description: 预售商品介绍图片[多张用逗号分隔]
  2734. type: string
  2735. picurls2:
  2736. description: 挂牌商品介绍图片[多张用逗号分隔]
  2737. type: string
  2738. price:
  2739. description: 价格
  2740. type: number
  2741. qty:
  2742. description: 数量
  2743. type: integer
  2744. time:
  2745. description: 时间
  2746. type: string
  2747. trademode:
  2748. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2749. 21:竞拍-大宗式 22:受托竞价
  2750. type: integer
  2751. vendorname1:
  2752. description: 预售商品供应商名称
  2753. type: string
  2754. vendorname2:
  2755. description: 挂牌商品供应商名称
  2756. type: string
  2757. required:
  2758. - accountid
  2759. - buyorsell
  2760. - goodscode
  2761. - goodsid
  2762. - goodsname
  2763. - marketid
  2764. - orderid
  2765. - qty
  2766. - time
  2767. - trademode
  2768. type: object
  2769. models.HsbyGoodsOrderDetail:
  2770. properties:
  2771. buyorsell:
  2772. description: 买卖 - 0:买 1:卖
  2773. type: integer
  2774. currencysign:
  2775. description: 货币符号
  2776. type: string
  2777. customername:
  2778. description: 客户名称(企业名称),已脱敏
  2779. type: string
  2780. enableqty:
  2781. description: 可用数量
  2782. type: integer
  2783. goodunit:
  2784. description: 报价单位
  2785. type: string
  2786. orderid:
  2787. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2788. type: string
  2789. orderprice:
  2790. description: 委托价格
  2791. type: number
  2792. ordertime:
  2793. description: 委托时间
  2794. type: string
  2795. required:
  2796. - buyorsell
  2797. - orderid
  2798. - ordertime
  2799. type: object
  2800. models.HsbyListingGoodsDetail:
  2801. properties:
  2802. agreeunit:
  2803. description: 合约单位
  2804. type: number
  2805. buymaxqty:
  2806. description: 购买上限 [71] - 0为不限
  2807. type: integer
  2808. currency:
  2809. description: 货币
  2810. type: string
  2811. currencysign:
  2812. description: 货币符号
  2813. type: string
  2814. decimalplace:
  2815. description: 报价小数位
  2816. type: integer
  2817. desccityid:
  2818. description: 目的地(市)ID
  2819. type: integer
  2820. descprovinceid:
  2821. description: 目的地(省)ID
  2822. type: integer
  2823. goodscode:
  2824. description: 商品代码(内部)
  2825. type: string
  2826. goodsdesc:
  2827. description: 商品详情
  2828. type: string
  2829. goodsid:
  2830. description: 商品ID(自增ID SEQ_GOODS)
  2831. type: integer
  2832. goodsname:
  2833. description: 商品名称
  2834. type: string
  2835. goodsprice:
  2836. description: 商品价格
  2837. type: number
  2838. hotindex:
  2839. description: 景点热度
  2840. type: integer
  2841. last:
  2842. description: 现价
  2843. type: number
  2844. limitdown:
  2845. description: 跌停价
  2846. type: number
  2847. limitup:
  2848. description: 涨停价
  2849. type: number
  2850. lotsize:
  2851. description: 手数最小变动单位
  2852. type: integer
  2853. marketid:
  2854. description: 所属市场ID
  2855. type: integer
  2856. picurls:
  2857. description: 介绍图片[多张用逗号分隔]
  2858. type: string
  2859. quoteminunit:
  2860. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2861. type: integer
  2862. stepvalue:
  2863. description: 价格最小变动单位
  2864. type: number
  2865. trademode:
  2866. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2867. 21:竞拍-大宗式 22:受托竞价
  2868. type: integer
  2869. vendorattr:
  2870. description: 供应商附件(多张,逗号分隔)
  2871. type: string
  2872. vendorname:
  2873. description: 供应商名称
  2874. type: string
  2875. vendorphone:
  2876. description: 供应商客服电话
  2877. type: string
  2878. videourls:
  2879. description: 介绍视频[多张用逗号分隔]
  2880. type: string
  2881. required:
  2882. - goodscode
  2883. - goodsid
  2884. - goodsname
  2885. - marketid
  2886. - trademode
  2887. type: object
  2888. models.HsbyMarketGoods:
  2889. properties:
  2890. accountid:
  2891. description: 账户ID[报价币种]
  2892. type: integer
  2893. agreeunit:
  2894. description: 合约单位
  2895. type: number
  2896. buyorsell:
  2897. description: 买卖 - 0:买 1:卖
  2898. type: integer
  2899. categoryid:
  2900. description: 类别ID(WRCATEGORY)
  2901. type: integer
  2902. currency:
  2903. description: 货币
  2904. type: string
  2905. currencysign:
  2906. description: 货币符号
  2907. type: string
  2908. customername:
  2909. description: 卖家名称
  2910. type: string
  2911. decimalplace:
  2912. description: 报价小数位
  2913. type: integer
  2914. goodscode:
  2915. description: 商品代码(内部)
  2916. type: string
  2917. goodsid:
  2918. description: 商品ID
  2919. type: integer
  2920. goodsname:
  2921. description: 商品名称
  2922. type: string
  2923. hascoupon:
  2924. description: 是否可用优惠卷
  2925. type: boolean
  2926. hotindex:
  2927. description: 景点热度
  2928. type: integer
  2929. marketid:
  2930. description: 市场ID
  2931. type: integer
  2932. orderid:
  2933. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2934. type: string
  2935. orderprice:
  2936. description: 委托价格
  2937. type: number
  2938. orderstatus:
  2939. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2940. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2941. 16:成交失败违约(荷兰式竞拍专用)
  2942. type: integer
  2943. picurls:
  2944. description: 介绍图片[多张用逗号分隔]
  2945. type: string
  2946. quoteminunit:
  2947. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2948. type: integer
  2949. sellUserID:
  2950. description: 卖方UserID
  2951. type: integer
  2952. trademode:
  2953. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2954. 21:竞拍-大宗式 22:受托竞价
  2955. type: integer
  2956. videourls:
  2957. description: 介绍视频[多张用逗号分隔]
  2958. type: string
  2959. required:
  2960. - accountid
  2961. - buyorsell
  2962. - goodscode
  2963. - goodsid
  2964. - goodsname
  2965. - marketid
  2966. - orderid
  2967. - trademode
  2968. type: object
  2969. models.HsbyMarketGoodsDetail:
  2970. properties:
  2971. accountid:
  2972. description: 账户ID[报价币种]
  2973. type: integer
  2974. agreeunit:
  2975. description: 合约单位
  2976. type: number
  2977. buymaxqty:
  2978. description: 购买上限 [71] - 0为不限
  2979. type: integer
  2980. buyorsell:
  2981. description: 买卖 - 0:买 1:卖
  2982. type: integer
  2983. cancelqty:
  2984. description: 撤单数量
  2985. type: integer
  2986. categoryid:
  2987. description: 类别ID(WRCATEGORY)
  2988. type: integer
  2989. currency:
  2990. description: 货币
  2991. type: string
  2992. currencysign:
  2993. description: 货币符号
  2994. type: string
  2995. customername:
  2996. description: 卖家名称
  2997. type: string
  2998. decimalplace:
  2999. description: 报价小数位
  3000. type: integer
  3001. goodscode:
  3002. description: 商品代码(内部)
  3003. type: string
  3004. goodsdesc:
  3005. description: 商品详情
  3006. type: string
  3007. goodsid:
  3008. description: 商品ID
  3009. type: integer
  3010. goodsname:
  3011. description: 商品名称
  3012. type: string
  3013. hotindex:
  3014. description: 景点热度
  3015. type: integer
  3016. lotsize:
  3017. description: 手数最小变动单位
  3018. type: integer
  3019. marketid:
  3020. description: 市场ID
  3021. type: integer
  3022. orderid:
  3023. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3024. type: string
  3025. orderprice:
  3026. description: 委托价格
  3027. type: number
  3028. orderqty:
  3029. description: 委托数量
  3030. type: integer
  3031. orderstatus:
  3032. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3033. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3034. 16:成交失败违约(荷兰式竞拍专用)
  3035. type: integer
  3036. picurls:
  3037. description: 介绍图片[多张用逗号分隔]
  3038. type: string
  3039. quoteminunit:
  3040. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3041. type: integer
  3042. sellUserID:
  3043. description: 卖方UserID
  3044. type: integer
  3045. trademode:
  3046. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3047. 21:竞拍-大宗式 22:受托竞价
  3048. type: integer
  3049. tradeqty:
  3050. description: 成交数量
  3051. type: integer
  3052. vendorname:
  3053. description: 供应商名称
  3054. type: string
  3055. videourls:
  3056. description: 介绍视频[多张用逗号分隔]
  3057. type: string
  3058. required:
  3059. - accountid
  3060. - buyorsell
  3061. - goodscode
  3062. - goodsid
  3063. - goodsname
  3064. - marketid
  3065. - orderid
  3066. - orderqty
  3067. - trademode
  3068. type: object
  3069. models.HsbyMarketInfo:
  3070. properties:
  3071. marketid:
  3072. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  3073. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  3074. type: integer
  3075. marketname:
  3076. description: 市场名称
  3077. type: string
  3078. marketstatus:
  3079. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  3080. type: integer
  3081. trademode:
  3082. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3083. 21:竞拍-大宗式 22:受托竞价
  3084. type: integer
  3085. required:
  3086. - marketid
  3087. - marketstatus
  3088. - trademode
  3089. type: object
  3090. models.HsbyMyGoods:
  3091. properties:
  3092. accountid:
  3093. description: 账号Id
  3094. type: integer
  3095. agreeunit:
  3096. description: 合约单位
  3097. type: number
  3098. buyaverageprice:
  3099. description: 持仓均价
  3100. type: number
  3101. buycurholderamount:
  3102. description: 买当前持仓总金额[商品币种]
  3103. type: number
  3104. buycurpositionqty:
  3105. description: 买当前持仓总数量
  3106. type: integer
  3107. currencysign:
  3108. description: 货币符号
  3109. type: string
  3110. decimalplace:
  3111. description: 报价小数位
  3112. type: integer
  3113. enableqty:
  3114. description: 可用数量
  3115. type: integer
  3116. goodscode:
  3117. description: 商品代码(内部)
  3118. type: string
  3119. goodsid:
  3120. description: 商品Id
  3121. type: integer
  3122. goodsname:
  3123. description: 商品名称
  3124. type: string
  3125. goodsprice:
  3126. description: 商品价格
  3127. type: number
  3128. goodsstatus:
  3129. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  3130. type: integer
  3131. marketid:
  3132. description: 所属市场ID
  3133. type: integer
  3134. picurls:
  3135. description: 介绍图片[多张用逗号分隔]
  3136. type: string
  3137. trademode:
  3138. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3139. 21:竞拍-大宗式 22:受托竞价
  3140. type: integer
  3141. required:
  3142. - accountid
  3143. - goodscode
  3144. - goodsid
  3145. - goodsname
  3146. - marketid
  3147. - trademode
  3148. type: object
  3149. models.HsbyMyPackage:
  3150. properties:
  3151. accountid:
  3152. description: 账户ID
  3153. type: integer
  3154. address:
  3155. description: 提货人详细地址
  3156. type: string
  3157. agreeunit:
  3158. description: 合约单位
  3159. type: number
  3160. amount:
  3161. description: 提货金额
  3162. type: number
  3163. auditer:
  3164. description: 审核人
  3165. type: integer
  3166. audittime:
  3167. description: 审核时间
  3168. type: string
  3169. averageprice:
  3170. description: 均价
  3171. type: number
  3172. cardnum:
  3173. description: 提货人证件号码
  3174. type: string
  3175. cardtypeid:
  3176. description: 提货人证件类型
  3177. type: integer
  3178. checkremark:
  3179. description: 审核备注
  3180. type: string
  3181. currencysign:
  3182. description: 货币符号
  3183. type: string
  3184. decimalplace:
  3185. description: 报价小数位
  3186. type: integer
  3187. goodscode:
  3188. description: 商品代码(内部)
  3189. type: string
  3190. goodsid:
  3191. description: 商品ID
  3192. type: integer
  3193. goodsname:
  3194. description: 商品名称
  3195. type: string
  3196. handlestatus:
  3197. description: 处理状态
  3198. type: integer
  3199. marketid:
  3200. description: 市场ID
  3201. type: integer
  3202. phonenum:
  3203. description: 提货人联系方式
  3204. type: string
  3205. picurls:
  3206. description: 介绍图片[多张用逗号分隔]
  3207. type: string
  3208. qty:
  3209. description: 提货数量
  3210. type: number
  3211. recivername:
  3212. description: 提货人姓名
  3213. type: string
  3214. reqtime:
  3215. description: 更新时间
  3216. type: string
  3217. takemode:
  3218. description: 提货方式 - 2:自提 3:配送
  3219. type: integer
  3220. takeorderid:
  3221. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  3222. type: string
  3223. takeorderstatus:
  3224. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  3225. type: integer
  3226. takeremark:
  3227. description: 提货备注
  3228. type: string
  3229. tradedate:
  3230. description: 交易日(yyyyMMdd)
  3231. type: string
  3232. userid:
  3233. description: 用户ID
  3234. type: integer
  3235. vendorname:
  3236. description: 供应商名称
  3237. type: string
  3238. required:
  3239. - goodscode
  3240. - goodsname
  3241. - takeorderid
  3242. type: object
  3243. models.HsbyPreGoods:
  3244. properties:
  3245. agreeunit:
  3246. description: 合约单位
  3247. type: number
  3248. currency:
  3249. description: 货币
  3250. type: string
  3251. currencysign:
  3252. description: 货币符号
  3253. type: string
  3254. decimalplace:
  3255. description: 报价小数位
  3256. type: integer
  3257. enableqty:
  3258. description: 剩余数量
  3259. type: integer
  3260. goodscode:
  3261. description: 商品代码(内部)
  3262. type: string
  3263. goodsid:
  3264. description: 商品ID(自增ID SEQ_GOODS)
  3265. type: integer
  3266. goodsname:
  3267. description: 商品名称
  3268. type: string
  3269. goodsstatus:
  3270. description: 商品状态- 2:未上市 3:上市
  3271. type: integer
  3272. lasttradedate:
  3273. description: 最后交易日期(状态:待退市)
  3274. type: string
  3275. listingdate:
  3276. description: 交易开始日期
  3277. type: string
  3278. marketid:
  3279. description: 所属市场ID
  3280. type: integer
  3281. picurls:
  3282. description: 介绍图片[多张用逗号分隔]
  3283. type: string
  3284. presaledqty:
  3285. description: 已预售量(预售结束时更新)
  3286. type: integer
  3287. presaleqty:
  3288. description: 预售数量
  3289. type: integer
  3290. quoteminunit:
  3291. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3292. type: integer
  3293. refprice:
  3294. description: 参考价格[一口价]
  3295. type: number
  3296. relatedgoodsid:
  3297. description: 关联交易合约ID
  3298. type: integer
  3299. trademode:
  3300. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3301. 21:竞拍-大宗式 22:受托竞价
  3302. type: integer
  3303. videourls:
  3304. description: 介绍视频[多张用逗号分隔]
  3305. type: string
  3306. required:
  3307. - goodscode
  3308. - goodsid
  3309. - goodsname
  3310. - marketid
  3311. - trademode
  3312. type: object
  3313. models.HsbyPreGoodsDetail:
  3314. properties:
  3315. agreeunit:
  3316. description: 合约单位
  3317. type: number
  3318. buymaxqty:
  3319. description: 购买上限 [71] - 0为不限
  3320. type: integer
  3321. currency:
  3322. description: 货币
  3323. type: string
  3324. currencysign:
  3325. description: 货币符号
  3326. type: string
  3327. customername:
  3328. description: 发行单位
  3329. type: string
  3330. decimalplace:
  3331. description: 报价小数位
  3332. type: integer
  3333. desccityid:
  3334. description: 目的地(市)ID
  3335. type: integer
  3336. descprovinceid:
  3337. description: 目的地(省)ID
  3338. type: integer
  3339. enableqty:
  3340. description: 剩余数量
  3341. type: integer
  3342. goodscode:
  3343. description: 商品代码(内部)
  3344. type: string
  3345. goodsdesc:
  3346. description: 商品详情
  3347. type: string
  3348. goodsid:
  3349. description: 商品ID(自增ID SEQ_GOODS)
  3350. type: integer
  3351. goodsname:
  3352. description: 商品名称
  3353. type: string
  3354. goodsstatus:
  3355. description: 商品状态- 2:未上市 3:上市
  3356. type: integer
  3357. goodunit:
  3358. description: 报价单位
  3359. type: string
  3360. lasttradedate:
  3361. description: 最后交易日期(状态:待退市)
  3362. type: string
  3363. listingdate:
  3364. description: 交易开始日期
  3365. type: string
  3366. lotsize:
  3367. description: 手数最小变动单位
  3368. type: integer
  3369. marketid:
  3370. description: 所属市场ID
  3371. type: integer
  3372. picurls:
  3373. description: 介绍图片[多张用逗号分隔]
  3374. type: string
  3375. presaledqty:
  3376. description: 已预售量(预售结束时更新)
  3377. type: integer
  3378. presaleqty:
  3379. description: 预售数量
  3380. type: integer
  3381. quoteminunit:
  3382. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3383. type: integer
  3384. refprice:
  3385. description: 参考价格[一口价]
  3386. type: number
  3387. relatedgoodsid:
  3388. description: 关联交易合约ID
  3389. type: integer
  3390. stepvalue:
  3391. description: 价格最小变动单位
  3392. type: number
  3393. trademode:
  3394. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3395. 21:竞拍-大宗式 22:受托竞价
  3396. type: integer
  3397. vendorattr:
  3398. description: 供应商附件(多张,逗号分隔)
  3399. type: string
  3400. vendorname:
  3401. description: 供应商名称
  3402. type: string
  3403. vendorphone:
  3404. description: 供应商客服电话
  3405. type: string
  3406. videourls:
  3407. description: 介绍视频[多张用逗号分隔]
  3408. type: string
  3409. required:
  3410. - goodscode
  3411. - goodsid
  3412. - goodsname
  3413. - marketid
  3414. - trademode
  3415. type: object
  3416. models.HsbySellCollectionOrder:
  3417. properties:
  3418. agreeunit:
  3419. description: 合约单位
  3420. type: number
  3421. buyaccountid:
  3422. description: 买方账号ID[报价币种]
  3423. type: integer
  3424. buyorderid:
  3425. description: 买方委托单号
  3426. type: string
  3427. createtime:
  3428. description: 创建时间
  3429. type: string
  3430. currencysign:
  3431. description: 货币符号
  3432. type: string
  3433. decimalplace:
  3434. description: 报价小数位
  3435. type: integer
  3436. goodscode:
  3437. description: 商品代码(内部)
  3438. type: string
  3439. goodsid:
  3440. description: 商品ID
  3441. type: integer
  3442. goodsname:
  3443. description: 商品名称
  3444. type: string
  3445. marketid:
  3446. description: 市场ID
  3447. type: integer
  3448. offamount:
  3449. description: 优惠金额
  3450. type: number
  3451. payamount:
  3452. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  3453. type: number
  3454. payflag:
  3455. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  3456. type: integer
  3457. paylimitedtime:
  3458. description: 支付期限
  3459. type: string
  3460. paytime:
  3461. description: 付款时间
  3462. type: string
  3463. picurls:
  3464. description: 商品介绍图片[多张用逗号分隔]
  3465. type: string
  3466. sellaccountid:
  3467. description: 卖方账号ID[报价币种]
  3468. type: integer
  3469. sellorderid:
  3470. description: 卖方委托单号
  3471. type: string
  3472. tradeamount:
  3473. description: 成交金额
  3474. type: number
  3475. tradecharge:
  3476. description: 成交手续费(买方)
  3477. type: number
  3478. tradedate:
  3479. description: 交易日(yyyyMMdd)
  3480. type: string
  3481. tradeid:
  3482. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3483. type: string
  3484. trademode:
  3485. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3486. 21:竞拍-大宗式 22:受托竞价
  3487. type: integer
  3488. tradeprice:
  3489. description: 成交价格
  3490. type: number
  3491. tradeqty:
  3492. description: 成交数量
  3493. type: integer
  3494. required:
  3495. - goodscode
  3496. - goodsname
  3497. - tradeid
  3498. - trademode
  3499. type: object
  3500. models.HsbySellMyDetail:
  3501. properties:
  3502. accountid:
  3503. description: 账户ID[报价币种]
  3504. type: integer
  3505. agreeunit:
  3506. description: 合约单位
  3507. type: number
  3508. buyorsell:
  3509. description: 买卖 - 0:买 1:卖
  3510. type: integer
  3511. currencysign:
  3512. description: 货币符号
  3513. type: string
  3514. decimalplace:
  3515. description: 报价小数位
  3516. type: integer
  3517. goodscode:
  3518. description: 商品代码(内部)
  3519. type: string
  3520. goodsid:
  3521. description: 商品ID
  3522. type: integer
  3523. goodsname:
  3524. description: 商品名称
  3525. type: string
  3526. marketid:
  3527. description: 市场ID
  3528. type: integer
  3529. orderid:
  3530. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  3531. type: string
  3532. ordertype:
  3533. description: 单据类型:0 - 发布中, 1 - 已完成
  3534. type: integer
  3535. picurls:
  3536. description: 介绍图片[多张用逗号分隔]
  3537. type: string
  3538. price:
  3539. description: 价格
  3540. type: number
  3541. qty:
  3542. description: 数量
  3543. type: integer
  3544. time:
  3545. description: 时间
  3546. type: string
  3547. trademode:
  3548. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3549. 21:竞拍-大宗式 22:受托竞价
  3550. type: integer
  3551. vendorname:
  3552. description: 供应商名称
  3553. type: string
  3554. required:
  3555. - accountid
  3556. - buyorsell
  3557. - goodscode
  3558. - goodsid
  3559. - goodsname
  3560. - marketid
  3561. - orderid
  3562. - time
  3563. - trademode
  3564. type: object
  3565. models.HsbyTopGoods:
  3566. properties:
  3567. agreeunit:
  3568. description: 合约单位
  3569. type: number
  3570. currency:
  3571. description: 货币
  3572. type: string
  3573. currencysign:
  3574. description: 货币符号
  3575. type: string
  3576. decimalplace:
  3577. description: 报价小数位
  3578. type: integer
  3579. goodscode:
  3580. description: 商品代码(内部)
  3581. type: string
  3582. goodsid:
  3583. description: 商品ID(自增ID SEQ_GOODS)
  3584. type: integer
  3585. goodsname:
  3586. description: 商品名称
  3587. type: string
  3588. hotindex:
  3589. description: 景点热度
  3590. type: integer
  3591. last:
  3592. description: 现价
  3593. type: number
  3594. marketid:
  3595. description: 所属市场ID
  3596. type: integer
  3597. picurls:
  3598. description: 介绍图片[多张用逗号分隔]
  3599. type: string
  3600. quoteminunit:
  3601. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3602. type: integer
  3603. trademode:
  3604. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3605. 21:竞拍-大宗式 22:受托竞价
  3606. type: integer
  3607. videourls:
  3608. description: 介绍视频[多张用逗号分隔]
  3609. type: string
  3610. required:
  3611. - goodscode
  3612. - goodsid
  3613. - goodsname
  3614. - marketid
  3615. - trademode
  3616. type: object
  3617. models.HybsMyBuyOrderDetail:
  3618. properties:
  3619. accountid:
  3620. description: 账户ID[报价币种]
  3621. type: integer
  3622. agreeunit:
  3623. description: 合约单位
  3624. type: number
  3625. buyorsell:
  3626. description: 买卖 - 0:买 1:卖
  3627. type: integer
  3628. cancelqty:
  3629. description: 撤单数量
  3630. type: integer
  3631. currencysign:
  3632. description: 货币符号
  3633. type: string
  3634. decimalplace:
  3635. description: 报价小数位
  3636. type: integer
  3637. goodscode:
  3638. description: 商品代码(内部)
  3639. type: string
  3640. goodsid:
  3641. description: 商品ID
  3642. type: integer
  3643. goodsname:
  3644. description: 商品名称
  3645. type: string
  3646. listingselecttype:
  3647. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3648. type: integer
  3649. marketid:
  3650. description: 市场ID
  3651. type: integer
  3652. mybuystatus:
  3653. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  3654. type: integer
  3655. orderamount:
  3656. description: 委托金额
  3657. type: number
  3658. orderid:
  3659. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3660. type: string
  3661. orderprice:
  3662. description: 委托价格
  3663. type: number
  3664. orderqty:
  3665. description: 委托数量
  3666. type: integer
  3667. orderstatus:
  3668. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3669. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3670. 16:成交失败违约(荷兰式竞拍专用)
  3671. type: integer
  3672. ordertime:
  3673. description: 委托时间
  3674. type: string
  3675. picurls1:
  3676. description: 预售商品介绍图片[多张用逗号分隔]
  3677. type: string
  3678. picurls2:
  3679. description: 挂牌商品介绍图片[多张用逗号分隔]
  3680. type: string
  3681. trademode:
  3682. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3683. 21:竞拍-大宗式 22:受托竞价
  3684. type: integer
  3685. tradeqty:
  3686. description: 成交数量
  3687. type: integer
  3688. vendorname1:
  3689. description: 预售商品供应商名称
  3690. type: string
  3691. vendorname2:
  3692. description: 挂牌商品供应商名称
  3693. type: string
  3694. required:
  3695. - accountid
  3696. - buyorsell
  3697. - goodscode
  3698. - goodsid
  3699. - goodsname
  3700. - marketid
  3701. - orderid
  3702. - orderqty
  3703. - ordertime
  3704. - trademode
  3705. type: object
  3706. models.Marketrun:
  3707. properties:
  3708. afternexttradedate:
  3709. description: 下下交易日
  3710. type: string
  3711. clearquoteflag:
  3712. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  3713. type: integer
  3714. lastreckondate:
  3715. description: 最新交易日(结算成功)
  3716. type: string
  3717. machinedate:
  3718. description: 机器时间
  3719. type: string
  3720. manualflag:
  3721. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  3722. type: integer
  3723. marketid:
  3724. description: 市场ID
  3725. type: integer
  3726. nexttradedate:
  3727. description: 下一交易日
  3728. type: string
  3729. pretradedate:
  3730. description: 上一交易日
  3731. type: string
  3732. reckonflag:
  3733. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  3734. type: integer
  3735. runstatus:
  3736. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  3737. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  3738. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  3739. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  3740. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  3741. 62.今日免清算
  3742. type: integer
  3743. sectionid:
  3744. description: 时间段号[多时段时用]
  3745. type: integer
  3746. tradedate:
  3747. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  3748. type: string
  3749. tradedate2:
  3750. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  3751. type: string
  3752. updatetime:
  3753. description: 更新时间
  3754. type: string
  3755. required:
  3756. - marketid
  3757. - nexttradedate
  3758. - reckonflag
  3759. - runstatus
  3760. - tradedate
  3761. - tradedate2
  3762. type: object
  3763. models.Messageboard:
  3764. properties:
  3765. createtime:
  3766. description: 创建时间
  3767. type: string
  3768. message:
  3769. description: 留言信息
  3770. type: string
  3771. messageboardid:
  3772. description: 留言簿ID(SEQ_MessageBoard)
  3773. type: integer
  3774. userid:
  3775. description: 用户ID
  3776. type: integer
  3777. required:
  3778. - messageboardid
  3779. type: object
  3780. models.MyCoupon:
  3781. properties:
  3782. accountid:
  3783. description: 资金账户ID
  3784. type: integer
  3785. areauserid:
  3786. description: 所属机构
  3787. type: integer
  3788. conditionvalue:
  3789. description: 条件阈值(可为0)
  3790. type: number
  3791. couponcategroy:
  3792. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  3793. type: integer
  3794. couponname:
  3795. description: 优惠券名称
  3796. type: string
  3797. coupontypeid:
  3798. description: 优惠券类型ID
  3799. type: string
  3800. couponvalue:
  3801. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  3802. type: number
  3803. curfreezeqty:
  3804. description: 期末冻结数量
  3805. type: integer
  3806. curqty:
  3807. description: 期末数量
  3808. type: integer
  3809. isgeneral:
  3810. description: 是否通用券 - 0:否 1:是
  3811. type: integer
  3812. isunusable:
  3813. description: 是否不可用
  3814. type: boolean
  3815. limitedflag:
  3816. description: 是否指定商品 - 0:不限 1:限制
  3817. type: integer
  3818. limitedgoodsids:
  3819. description: 指定商品IDs[逗号分隔,前后加逗号]
  3820. type: string
  3821. orifreezeqty:
  3822. description: 期初冻结数量
  3823. type: integer
  3824. oriqty:
  3825. description: 期初数量
  3826. type: integer
  3827. reasontype:
  3828. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  3829. type: integer
  3830. todaydecrease:
  3831. description: 今日减少
  3832. type: integer
  3833. todayincrease:
  3834. description: 今日增加
  3835. type: integer
  3836. userid:
  3837. description: 用户ID
  3838. type: integer
  3839. userscope:
  3840. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  3841. type: string
  3842. required:
  3843. - accountid
  3844. - coupontypeid
  3845. type: object
  3846. models.MyCouponHold:
  3847. properties:
  3848. accountid:
  3849. description: 资金账户ID
  3850. type: integer
  3851. conditionvalue:
  3852. description: 条件阈值(可为0)
  3853. type: number
  3854. couponcategroy:
  3855. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  3856. type: integer
  3857. couponholdid:
  3858. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  3859. type: string
  3860. couponname:
  3861. description: 优惠券名称
  3862. type: string
  3863. coupontypeid:
  3864. description: 优惠券类型ID - SEQ_COUPONTYPE
  3865. type: string
  3866. couponvalue:
  3867. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  3868. type: number
  3869. createtime:
  3870. description: 创建时间
  3871. type: string
  3872. enddate:
  3873. description: 结束日期
  3874. type: string
  3875. giveapplyid:
  3876. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  3877. type: integer
  3878. holdstatus:
  3879. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  3880. type: integer
  3881. isgeneral:
  3882. description: 是否通用券 - 0:否 1:是
  3883. type: integer
  3884. limitedflag:
  3885. description: 是否指定商品 - 0:不限 1:限制
  3886. type: integer
  3887. limitedgoodsids:
  3888. description: 指定商品IDs[逗号分隔]
  3889. type: string
  3890. qty:
  3891. description: 数量(按1平铺)
  3892. type: integer
  3893. startdate:
  3894. description: 开始日期
  3895. type: string
  3896. userid:
  3897. description: 用户ID
  3898. type: integer
  3899. userscope:
  3900. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  3901. type: string
  3902. required:
  3903. - couponholdid
  3904. type: object
  3905. models.MyUsedCoupon:
  3906. properties:
  3907. accountid:
  3908. description: 资金账户ID(买方)
  3909. type: integer
  3910. conditionvalue:
  3911. description: 条件阈值(可为0)
  3912. type: number
  3913. couponcategroy:
  3914. description: 种类 - 1:现金券 2:折扣券
  3915. type: integer
  3916. couponname:
  3917. description: 优惠券名称
  3918. type: string
  3919. coupontypeid:
  3920. description: 优惠券类型ID(买方)
  3921. type: string
  3922. couponvalue:
  3923. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  3924. type: number
  3925. createtime:
  3926. description: 创建时间
  3927. type: string
  3928. goodsid:
  3929. description: 商品ID
  3930. type: integer
  3931. handlestatus:
  3932. description: 处理状态
  3933. type: integer
  3934. marketid:
  3935. description: 市场ID
  3936. type: integer
  3937. offamount:
  3938. description: 优惠金额
  3939. type: number
  3940. orderid:
  3941. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3942. type: string
  3943. sellaccountid:
  3944. description: 资金账户ID(卖方)
  3945. type: integer
  3946. tradeamount:
  3947. description: 成交金额
  3948. type: number
  3949. tradeid:
  3950. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3951. type: string
  3952. usedqty:
  3953. description: 使用数量
  3954. type: integer
  3955. required:
  3956. - coupontypeid
  3957. - orderid
  3958. type: object
  3959. models.OperationPrimaryMenu:
  3960. properties:
  3961. Children:
  3962. description: 二级功能菜单
  3963. items:
  3964. $ref: '#/definitions/models.OperationSecondaryMenu'
  3965. type: array
  3966. Key:
  3967. description: 菜单KEY
  3968. type: string
  3969. Label:
  3970. description: 菜单标题
  3971. type: string
  3972. type: object
  3973. models.OperationSecondaryMenu:
  3974. properties:
  3975. Key:
  3976. description: 菜单KEY
  3977. type: string
  3978. Label:
  3979. description: 菜单标题
  3980. type: string
  3981. TabList:
  3982. description: 三级功能菜单
  3983. items:
  3984. $ref: '#/definitions/models.OperationTabMenu'
  3985. type: array
  3986. type: object
  3987. models.OperationTabMenu:
  3988. properties:
  3989. Key:
  3990. description: 菜单KEY
  3991. type: string
  3992. Label:
  3993. description: 菜单标题
  3994. type: string
  3995. type: object
  3996. models.PendingAuditBizModel:
  3997. properties:
  3998. accountid:
  3999. description: 现货账户
  4000. type: string
  4001. areaname:
  4002. description: 所属部门
  4003. type: string
  4004. bizid:
  4005. description: 业务ID
  4006. type: string
  4007. bizname:
  4008. description: 业务名称
  4009. type: string
  4010. status:
  4011. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4012. type: integer
  4013. type:
  4014. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  4015. type: integer
  4016. type: object
  4017. models.QuotePrimaryMenu:
  4018. properties:
  4019. Index:
  4020. description: 序号
  4021. type: integer
  4022. Key:
  4023. description: 键名
  4024. type: string
  4025. Name:
  4026. description: 菜单名称
  4027. type: string
  4028. SubMenus:
  4029. description: 子菜单
  4030. items:
  4031. $ref: '#/definitions/models.QuoteSecondaryMenu'
  4032. type: array
  4033. SubTitleType:
  4034. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  4035. type: integer
  4036. TradeModes:
  4037. description: 包含市场交易类型
  4038. type: string
  4039. type: object
  4040. models.QuoteSecondaryMenu:
  4041. properties:
  4042. ExExchangeCode:
  4043. description: 外部交易所代码
  4044. type: string
  4045. ExExchangeID:
  4046. description: 外部交易所ID
  4047. type: integer
  4048. GoodsGroupIDs:
  4049. description: 商品组ID列表
  4050. items:
  4051. type: integer
  4052. type: array
  4053. Index:
  4054. description: 序号
  4055. type: integer
  4056. MarketID:
  4057. description: 市场ID
  4058. type: integer
  4059. MenuTitle:
  4060. description: 菜单标题(市场名称或外部交易所名称)
  4061. type: string
  4062. TradeMode:
  4063. description: 交易模式
  4064. type: integer
  4065. type: object
  4066. models.SearchGoods:
  4067. properties:
  4068. goodscode:
  4069. description: 商品代码(内部)
  4070. type: string
  4071. goodsid:
  4072. description: 商品ID(自增ID SEQ_GOODS)
  4073. type: integer
  4074. goodsname:
  4075. description: 商品名称
  4076. type: string
  4077. marketid:
  4078. description: 所属市场ID
  4079. type: integer
  4080. marketname:
  4081. description: 市场名称
  4082. type: string
  4083. trademode:
  4084. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4085. 21:竞拍-大宗式 22:受托竞价
  4086. type: integer
  4087. required:
  4088. - goodscode
  4089. - goodsid
  4090. - goodsname
  4091. - marketid
  4092. - trademode
  4093. type: object
  4094. models.Szdz2imageconfig:
  4095. properties:
  4096. configid:
  4097. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  4098. type: integer
  4099. imagepath:
  4100. description: 图片
  4101. type: string
  4102. imagetype:
  4103. description: 类型 - 1:App首页轮播 2:我的
  4104. type: integer
  4105. sort:
  4106. description: 排序
  4107. type: integer
  4108. title:
  4109. description: 标题
  4110. type: string
  4111. url:
  4112. description: 链接
  4113. type: string
  4114. required:
  4115. - configid
  4116. type: object
  4117. models.Szdz3convertconfig:
  4118. properties:
  4119. canin:
  4120. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  4121. type: integer
  4122. canout:
  4123. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  4124. type: integer
  4125. converttype:
  4126. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  4127. 6:交易转花生米(不设置)
  4128. type: integer
  4129. createtime:
  4130. description: 创建时间
  4131. type: string
  4132. creatorid:
  4133. description: 创建人
  4134. type: integer
  4135. daymaxvalue:
  4136. description: 当日最大转入限制
  4137. type: number
  4138. freezedays:
  4139. description: 冻结天数 [5:花生米转交易]
  4140. type: integer
  4141. innergoodsid:
  4142. description: 内部商品ID[交易]
  4143. type: integer
  4144. inratio:
  4145. description: 目标值
  4146. type: integer
  4147. modifierid:
  4148. description: 修改人
  4149. type: integer
  4150. modifytime:
  4151. description: 修改时间
  4152. type: string
  4153. outergoodscode:
  4154. description: 外部商品代码[JD\PD]
  4155. type: string
  4156. outratio:
  4157. description: 源值
  4158. type: integer
  4159. pddecimalplace:
  4160. description: PD小数位
  4161. type: integer
  4162. timemaxvalue:
  4163. description: 单次最大转入限制
  4164. type: number
  4165. timeminvalue:
  4166. description: 单次最小转入限制
  4167. type: number
  4168. required:
  4169. - converttype
  4170. - innergoodsid
  4171. - outergoodscode
  4172. type: object
  4173. models.Szdz3searchwhitelist:
  4174. properties:
  4175. createtime:
  4176. description: 创建时间
  4177. type: string
  4178. creatorid:
  4179. description: 创建人
  4180. type: integer
  4181. modifierid:
  4182. description: 修改人
  4183. type: integer
  4184. modifytime:
  4185. description: 修改时间
  4186. type: string
  4187. userid:
  4188. description: 用户ID
  4189. type: integer
  4190. required:
  4191. - userid
  4192. type: object
  4193. models.Tablecolumnconfig:
  4194. properties:
  4195. aligntype:
  4196. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  4197. type: integer
  4198. autoid:
  4199. description: AutoID
  4200. type: integer
  4201. columnfield:
  4202. description: 列字段
  4203. type: string
  4204. columntitle:
  4205. description: 列Title
  4206. type: string
  4207. columnwidth:
  4208. description: 列宽
  4209. type: string
  4210. formatterstring:
  4211. description: 格式化字符
  4212. type: string
  4213. formattertype:
  4214. description: 格式化类型
  4215. type: string
  4216. groupname:
  4217. description: 表头分组名称
  4218. type: string
  4219. isshow:
  4220. description: 是否显示 - 0:不显示 1:显示
  4221. type: integer
  4222. needsummary:
  4223. description: 是否需要汇总 - 0:不需要 1:需要
  4224. type: integer
  4225. orderindex:
  4226. description: 顺序
  4227. type: integer
  4228. remark:
  4229. description: 备注
  4230. type: string
  4231. summarytype:
  4232. description: 汇总类型 - 1:加总 2:最后一个
  4233. type: integer
  4234. tablekey:
  4235. description: 列表Key
  4236. type: string
  4237. required:
  4238. - autoid
  4239. type: object
  4240. models.Useraccount:
  4241. properties:
  4242. accountname:
  4243. description: 账户名称(机构名称)
  4244. type: string
  4245. accountstatus:
  4246. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  4247. type: integer
  4248. auditremark:
  4249. description: 审核备注
  4250. type: string
  4251. audittime:
  4252. description: 审核时间
  4253. type: string
  4254. audituserid:
  4255. description: 审核人
  4256. type: integer
  4257. broker:
  4258. description: 所属经纪人ID
  4259. type: integer
  4260. canceltime:
  4261. description: 销户时间
  4262. type: string
  4263. canceluserid:
  4264. description: 销户人
  4265. type: integer
  4266. createtime:
  4267. description: 创建时间
  4268. type: string
  4269. creatorid:
  4270. description: 创建人
  4271. type: integer
  4272. hasauth:
  4273. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4274. type: integer
  4275. isanonymous:
  4276. description: 是否匿名下单 - 0:否 1:是
  4277. type: integer
  4278. maxinvestornum:
  4279. description: 最大用户数(经纪会员下投资者个数)
  4280. type: integer
  4281. memberuserid:
  4282. description: 所属会员ID
  4283. type: integer
  4284. modifierid:
  4285. description: 修改人
  4286. type: integer
  4287. modifyremark:
  4288. description: 变更备注
  4289. type: string
  4290. modifystatus:
  4291. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4292. type: integer
  4293. modifytime:
  4294. description: 修改时间
  4295. type: string
  4296. parentuserid:
  4297. description: 所属机构ID
  4298. type: integer
  4299. reckonaccountid:
  4300. description: 默认结算资金账号ID(机构分润使用) 作废
  4301. type: integer
  4302. refercount:
  4303. description: 推荐总人数
  4304. type: integer
  4305. refereeuserid:
  4306. description: 推荐人ID
  4307. type: integer
  4308. refernum:
  4309. description: 推荐码
  4310. type: string
  4311. subarealevelpath:
  4312. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4313. type: string
  4314. userid:
  4315. description: 用户ID
  4316. type: integer
  4317. usertype:
  4318. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  4319. type: integer
  4320. required:
  4321. - userid
  4322. type: object
  4323. models.Userfavoritegoods:
  4324. properties:
  4325. goodsid:
  4326. description: 商品ID
  4327. type: integer
  4328. required:
  4329. - goodsid
  4330. type: object
  4331. models.Userinfo:
  4332. properties:
  4333. address:
  4334. description: 地址
  4335. type: string
  4336. attachment1:
  4337. description: 附件1
  4338. type: string
  4339. attachment2:
  4340. description: 附件2
  4341. type: string
  4342. bankaccount:
  4343. description: 银行帐号 (加密存储)
  4344. type: string
  4345. bankaccountname:
  4346. description: 收款人名称
  4347. type: string
  4348. bankcardfrontphotourl:
  4349. description: 银行卡正面照地址
  4350. type: string
  4351. bankid:
  4352. description: 银行编码
  4353. type: string
  4354. bankname:
  4355. description: 银行名称
  4356. type: string
  4357. biznature:
  4358. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4359. type: integer
  4360. bizscope:
  4361. description: 企业经营范围(企业)
  4362. type: string
  4363. cardbackphotourl:
  4364. description: 证件背面图片地址
  4365. type: string
  4366. cardfrontphotourl:
  4367. description: 证件正面图片地址
  4368. type: string
  4369. cardnum:
  4370. description: 证件号码(加密存储)
  4371. type: string
  4372. cardtypeid:
  4373. description: 证件类型ID
  4374. type: integer
  4375. cityid:
  4376. description: 市
  4377. type: integer
  4378. company:
  4379. description: 公司(个人)
  4380. type: string
  4381. contactname:
  4382. description: 联系人
  4383. type: string
  4384. countryid:
  4385. description: 国家
  4386. type: integer
  4387. createtime:
  4388. description: 创建时间
  4389. type: string
  4390. creatorid:
  4391. description: 创建人
  4392. type: integer
  4393. customername:
  4394. description: 客户名称(企业名称)
  4395. type: string
  4396. districtid:
  4397. description: 地区
  4398. type: integer
  4399. email:
  4400. description: 邮件(加密存储)
  4401. type: string
  4402. fax:
  4403. description: 传真(加密存储)
  4404. type: string
  4405. halfbodyphotourl:
  4406. description: 半身照地址
  4407. type: string
  4408. hasencrypt:
  4409. description: 数据是否已加密 - 0:未加密 1:已加密
  4410. type: integer
  4411. headurl:
  4412. description: 头像地址
  4413. type: string
  4414. legalcardbackphotourl:
  4415. description: 法人身份证背面照地址
  4416. type: string
  4417. legalcardfrontphotourl:
  4418. description: 法人身份证正面照地址
  4419. type: string
  4420. legalpersonname:
  4421. description: 法人姓名(企业)
  4422. type: string
  4423. mobile:
  4424. description: 手机号码(加密存储)
  4425. type: string
  4426. mobile2:
  4427. description: 手机号码[明文-尚志]
  4428. type: string
  4429. modifierid:
  4430. description: 修改人
  4431. type: integer
  4432. modifiertime:
  4433. description: 修改时间
  4434. type: string
  4435. needinvoice:
  4436. description: 是否需要发票 - 0:不需要 1:需要
  4437. type: integer
  4438. nickname:
  4439. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  4440. type: string
  4441. openmode:
  4442. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  4443. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  4444. type: integer
  4445. otherurl:
  4446. description: 其它图片地址[使用分号分隔]
  4447. type: string
  4448. postalcode:
  4449. description: 邮政编码
  4450. type: string
  4451. provinceid:
  4452. description: 省
  4453. type: integer
  4454. qq:
  4455. description: QQ(加密存储
  4456. type: string
  4457. remark:
  4458. description: 备注
  4459. type: string
  4460. sex:
  4461. description: '用户性别 0: 女 1: 男'
  4462. type: integer
  4463. signpdfurl:
  4464. description: 签约pdf文件
  4465. type: string
  4466. telphone:
  4467. description: 联系电话(加密存储)
  4468. type: string
  4469. userid:
  4470. description: 用户ID
  4471. type: integer
  4472. userinfotype:
  4473. description: 用户信息类型 - 1:个人 2:企业
  4474. type: integer
  4475. userstatus:
  4476. description: 用户状态 - 1:正常 2:注销
  4477. type: integer
  4478. usertype:
  4479. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  4480. type: integer
  4481. wechat:
  4482. description: 微信(加密存储)
  4483. type: string
  4484. wskhinfo:
  4485. description: 开户申请信息(JSON)
  4486. type: string
  4487. required:
  4488. - userid
  4489. type: object
  4490. models.WRCategoryTree:
  4491. properties:
  4492. areauserid:
  4493. description: 所属机构
  4494. type: integer
  4495. categorydesc:
  4496. description: 类别描述
  4497. type: string
  4498. categoryid:
  4499. description: 类别ID(SEQ_WRCATEGORY)
  4500. type: integer
  4501. categoryname:
  4502. description: 类别名称
  4503. type: string
  4504. iconurl:
  4505. description: 图标地址
  4506. type: string
  4507. orderindex:
  4508. description: 顺序
  4509. type: integer
  4510. parentcategoryid:
  4511. description: 父类别ID
  4512. type: integer
  4513. subcategory:
  4514. description: 子分类
  4515. items:
  4516. $ref: '#/definitions/models.WRCategoryTree'
  4517. type: array
  4518. required:
  4519. - categoryid
  4520. type: object
  4521. models.WRStandardInfo:
  4522. properties:
  4523. createtime:
  4524. description: 创建时间
  4525. type: string
  4526. creatorid:
  4527. description: 创建人
  4528. type: integer
  4529. deliverygoodsid:
  4530. description: 品种ID
  4531. type: integer
  4532. deliverygoodsname:
  4533. description: 交割商品名称
  4534. type: string
  4535. factoryitemjson:
  4536. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  4537. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  4538. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  4539. 逗号分隔'
  4540. type: string
  4541. isvalid:
  4542. description: 是否有效 - 0:无效 1:有效
  4543. type: integer
  4544. minivalue:
  4545. description: 最小变动值
  4546. type: integer
  4547. minivaluedp:
  4548. description: 最小变动值小数位
  4549. type: integer
  4550. realminivalue:
  4551. description: 实际最小变动值
  4552. type: integer
  4553. realminivaluedp:
  4554. description: 实际最小变动值小数位
  4555. type: integer
  4556. unitid:
  4557. description: 单位ID
  4558. type: integer
  4559. unitname:
  4560. description: 单位
  4561. type: string
  4562. updatetime:
  4563. description: 更新时间
  4564. type: string
  4565. updatorid:
  4566. description: 更新人
  4567. type: integer
  4568. wrsstatus:
  4569. description: 状态 - 作废 - 0:未激活 1:正常
  4570. type: integer
  4571. wrstandardcode:
  4572. description: 仓单标准代码
  4573. type: string
  4574. wrstandardid:
  4575. description: 仓单标准ID(SEQ_WRSTANDARD)
  4576. type: integer
  4577. wrstandardname:
  4578. description: 仓单标准名称
  4579. type: string
  4580. required:
  4581. - wrstandardid
  4582. type: object
  4583. models.Warehouseinfo:
  4584. properties:
  4585. address:
  4586. description: 详细地址
  4587. type: string
  4588. areauserid:
  4589. description: 所属机构
  4590. type: integer
  4591. autoid:
  4592. description: 自增ID
  4593. type: integer
  4594. cityid:
  4595. description: 市
  4596. type: integer
  4597. contactname:
  4598. description: 联系人
  4599. type: string
  4600. contactnum:
  4601. description: 联系电话
  4602. type: string
  4603. countryid:
  4604. description: 国家
  4605. type: integer
  4606. createtime:
  4607. description: 创建时间
  4608. type: string
  4609. districtid:
  4610. description: 区
  4611. type: integer
  4612. hasvideo:
  4613. description: 是否有视频 - 0:无 1:有
  4614. type: integer
  4615. provinceid:
  4616. description: 省
  4617. type: integer
  4618. remark:
  4619. description: 审核备注
  4620. type: string
  4621. videourl:
  4622. description: 视频地址
  4623. type: string
  4624. warehousecode:
  4625. description: 仓库代码
  4626. type: string
  4627. warehousename:
  4628. description: 仓库名称
  4629. type: string
  4630. warehousestatus:
  4631. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  4632. type: integer
  4633. warehousetype:
  4634. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4635. type: integer
  4636. required:
  4637. - autoid
  4638. - warehousecode
  4639. type: object
  4640. order.QueryHisTradeDetailRsp:
  4641. properties:
  4642. accountid:
  4643. description: 账户ID[报价币种]
  4644. type: integer
  4645. buildtype:
  4646. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  4647. type: integer
  4648. buyorsell:
  4649. description: 方向 - 0:买 1:卖
  4650. type: integer
  4651. charge:
  4652. description: 手续费
  4653. type: number
  4654. closecharge:
  4655. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4656. type: number
  4657. closeexchagechargevalue:
  4658. description: 平仓交易所手续费设置值
  4659. type: number
  4660. closefeealgorithm:
  4661. description: 平仓手续费收取方式 1:比率 2:固定
  4662. type: integer
  4663. closememberchargevalue:
  4664. description: 平仓会员手续费设置值
  4665. type: number
  4666. closepl:
  4667. description: 平仓盈亏
  4668. type: number
  4669. closepl2:
  4670. description: 平仓盈亏[逐笔]
  4671. type: number
  4672. closeqty:
  4673. description: 平仓数量(先建后平操作 需要记录)
  4674. type: integer
  4675. creditamount:
  4676. description: 授信金额
  4677. type: number
  4678. gcaccountid:
  4679. description: 账户ID[合约币种]
  4680. type: integer
  4681. goodscode:
  4682. description: 商品代码
  4683. type: string
  4684. goodsid:
  4685. description: 商品ID
  4686. type: integer
  4687. goodsname:
  4688. description: 商品名称
  4689. type: string
  4690. histradedate:
  4691. description: 历史交易日
  4692. type: string
  4693. intclosepl:
  4694. description: 整型盈亏(用于交易结算试算平衡-收益权)
  4695. type: integer
  4696. isconfirmexercise:
  4697. description: 是否确认行权- 0:否 1:是
  4698. type: integer
  4699. ismain:
  4700. description: 是否主单 - 0:不是 1:是
  4701. type: integer
  4702. ispreexercise:
  4703. description: 是否预申报- 0:否 1:是
  4704. type: integer
  4705. isreckoned:
  4706. description: 是否结算 - 0:未结算 1:已结算
  4707. type: integer
  4708. isvaliddata:
  4709. description: 是否有效 - 0:无效 1:有效
  4710. type: integer
  4711. listingselecttype:
  4712. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4713. type: integer
  4714. marketid:
  4715. description: 市场ID
  4716. type: integer
  4717. marketname:
  4718. description: 市场名称
  4719. type: string
  4720. matchaccountid:
  4721. description: 对手账号id
  4722. type: integer
  4723. memberuserid:
  4724. description: 会员id 个人投资者 需要填写
  4725. type: integer
  4726. opencharge:
  4727. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4728. type: number
  4729. openexchagechargevalue:
  4730. description: 建仓交易所手续费设置值
  4731. type: number
  4732. openfeealgorithm:
  4733. description: 建仓手续费收取方式 1:比率 2:固定
  4734. type: integer
  4735. openmemberchargevalue:
  4736. description: 建仓会员手续费设置值
  4737. type: number
  4738. openqty:
  4739. description: 开仓数量(先建后平操作 需要记录)
  4740. type: integer
  4741. optiontype:
  4742. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  4743. type: integer
  4744. orderid:
  4745. description: 委托单号
  4746. type: string
  4747. performanceplanid:
  4748. description: 履约计划ID[期权]
  4749. type: integer
  4750. performancestatus:
  4751. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  4752. type: integer
  4753. preexerciseprice:
  4754. description: 预申报价格
  4755. type: number
  4756. premium:
  4757. description: 权利金 - [持仓单的权利金]
  4758. type: number
  4759. relatedouttradeid:
  4760. description: 关联外部成交单ID
  4761. type: integer
  4762. status:
  4763. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  4764. type: integer
  4765. tradeamount:
  4766. description: 成交金额[账户币种,用于所有权]
  4767. type: number
  4768. tradedate:
  4769. description: 交易日(yyyyMMdd)
  4770. type: string
  4771. tradeid:
  4772. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4773. type: string
  4774. trademode:
  4775. description: 交易模式
  4776. type: integer
  4777. tradeprice:
  4778. description: 成交价格
  4779. type: number
  4780. tradeproperty:
  4781. description: 交易属性
  4782. type: integer
  4783. tradeqty:
  4784. description: 成交数量
  4785. type: integer
  4786. tradetime:
  4787. description: 成交时间
  4788. type: string
  4789. tradetype:
  4790. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  4791. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  4792. type: integer
  4793. required:
  4794. - accountid
  4795. - buyorsell
  4796. - goodsid
  4797. - histradedate
  4798. - marketid
  4799. - memberuserid
  4800. - orderid
  4801. - tradeamount
  4802. - tradedate
  4803. - tradeid
  4804. - tradeprice
  4805. - tradeqty
  4806. - tradetime
  4807. type: object
  4808. order.QueryHisTradeOrderDetailRsp:
  4809. properties:
  4810. accountid:
  4811. description: 账户ID[报价币种]
  4812. type: integer
  4813. buildtype:
  4814. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  4815. type: integer
  4816. buyorsell:
  4817. description: 买卖 - 0:买 1:卖
  4818. type: integer
  4819. cancelorderid:
  4820. description: 撤单单号(撤单时填写)
  4821. type: string
  4822. cancelqty:
  4823. description: 撤单数量
  4824. type: integer
  4825. clientordertime:
  4826. description: 客户端委托时间
  4827. type: string
  4828. clientticket:
  4829. description: 客户端流水号
  4830. type: string
  4831. clienttype:
  4832. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  4833. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  4834. type: integer
  4835. closeexchagechargevalue:
  4836. description: 平仓交易所手续费设置值
  4837. type: number
  4838. closefeealgorithm:
  4839. description: 平仓手续费收取方式 1:比率 2:固定
  4840. type: integer
  4841. closefreezecharge:
  4842. description: 平仓冻结手续费(先建后平操作,需要记录)
  4843. type: number
  4844. closememberchargevalue:
  4845. description: 平仓会员手续费设置值
  4846. type: number
  4847. closeqty:
  4848. description: 平仓数量(先建后平操作 需要记录)
  4849. type: integer
  4850. closetradeqty:
  4851. description: 平仓成交数量(先建后平操作,需要记录)
  4852. type: integer
  4853. closeunfreezecharge:
  4854. description: 平仓解冻手续费(先建后平操作,需要记录)
  4855. type: number
  4856. delistingtype:
  4857. description: 摘牌类型 - 1:价格最优 2:点选成交
  4858. type: integer
  4859. freezecharge:
  4860. description: 冻结手续费
  4861. type: number
  4862. freezemargin:
  4863. description: 冻结保证金(冻结交易金额)
  4864. type: number
  4865. gcaccountid:
  4866. description: 账户ID[合约币种]
  4867. type: integer
  4868. goodscode:
  4869. description: 商品代码
  4870. type: string
  4871. goodsid:
  4872. description: 商品ID
  4873. type: integer
  4874. goodsname:
  4875. description: 商品名称
  4876. type: string
  4877. histradedate:
  4878. description: 历史交易日
  4879. type: string
  4880. isconfirmexercise:
  4881. description: 是否确认行权- 0:否 1:是
  4882. type: integer
  4883. ispreexercise:
  4884. description: 是否预申报- 0:否 1:是
  4885. type: integer
  4886. isvaliddata:
  4887. description: 是否有效 - 0:无效 1:有效
  4888. type: integer
  4889. listingselecttype:
  4890. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4891. type: integer
  4892. marginalgorithm:
  4893. description: 保证金收取方式 1:比率 2:固定
  4894. type: integer
  4895. marginvalue:
  4896. description: 即市保证金设置值
  4897. type: number
  4898. marketid:
  4899. description: 市场ID
  4900. type: integer
  4901. marketmaxsub:
  4902. description: 市价最大偏移范围
  4903. type: number
  4904. marketname:
  4905. description: 市场名称
  4906. type: string
  4907. memberuserid:
  4908. description: 所属会员UserID
  4909. type: integer
  4910. openexchagechargevalue:
  4911. description: 建仓交易所手续费设置值
  4912. type: number
  4913. openfeealgorithm:
  4914. description: 建仓手续费收取方式 1:比率 2:固定
  4915. type: integer
  4916. openfreezecharge:
  4917. description: 开仓冻结手续费(先建后平操作,需要记录)
  4918. type: number
  4919. openmemberchargevalue:
  4920. description: 建仓会员手续费设置值
  4921. type: number
  4922. openqty:
  4923. description: 开仓数量(先建后平操作,需要记录)
  4924. type: integer
  4925. opentradeqty:
  4926. description: 开仓成交数量(先建后平操作,需要记录)
  4927. type: integer
  4928. openunfreezecharge:
  4929. description: 开仓解冻手续费(先建后平操作,需要记录)
  4930. type: number
  4931. operatetype:
  4932. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  4933. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  4934. 15:管理端协议转让
  4935. type: integer
  4936. operatorid:
  4937. description: 登录账号(LoginID)
  4938. type: integer
  4939. optiontype:
  4940. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  4941. type: integer
  4942. orderid:
  4943. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4944. type: string
  4945. orderprice:
  4946. description: 委托价格
  4947. type: number
  4948. orderqty:
  4949. description: 委托数量
  4950. type: integer
  4951. ordersrc:
  4952. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  4953. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  4954. type: integer
  4955. orderstatus:
  4956. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4957. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4958. 16:成交失败违约(荷兰式竞拍专用)
  4959. type: integer
  4960. ordertime:
  4961. description: 委托时间
  4962. type: string
  4963. preexerciseprice:
  4964. description: 预申报价格
  4965. type: number
  4966. premium:
  4967. description: 权利金
  4968. type: number
  4969. preorderid:
  4970. description: 关联预埋单号(止盈止损单时填写)
  4971. type: string
  4972. pricemode:
  4973. description: '取价方式 - 1:市价 2: 限价'
  4974. type: integer
  4975. quoteid:
  4976. description: 报价单ID
  4977. type: integer
  4978. relatedid:
  4979. description: 关联单号(交割单)
  4980. type: string
  4981. retcode:
  4982. description: 错误代码
  4983. type: integer
  4984. sessionid:
  4985. description: 会话ID
  4986. type: integer
  4987. tradedate:
  4988. description: 交易日(yyyyMMdd)
  4989. type: string
  4990. trademode:
  4991. description: 交易模式
  4992. type: integer
  4993. tradeproperty:
  4994. description: 交易属性
  4995. type: integer
  4996. tradeqty:
  4997. description: 成交数量
  4998. type: integer
  4999. unfreezecharge:
  5000. description: 解冻手续费
  5001. type: number
  5002. unfreezemargin:
  5003. description: 解冻保证金
  5004. type: number
  5005. updatetime:
  5006. description: 更新时间
  5007. type: string
  5008. uuid:
  5009. description: 发起端唯一id
  5010. type: string
  5011. validtime:
  5012. description: 有效期限
  5013. type: string
  5014. validtype:
  5015. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  5016. type: integer
  5017. volumetype:
  5018. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  5019. type: integer
  5020. required:
  5021. - accountid
  5022. - buildtype
  5023. - buyorsell
  5024. - goodsid
  5025. - histradedate
  5026. - marketid
  5027. - memberuserid
  5028. - operatetype
  5029. - orderid
  5030. - orderqty
  5031. - ordertime
  5032. - pricemode
  5033. - tradedate
  5034. - validtype
  5035. type: object
  5036. order.QueryTradeDetailRsp:
  5037. properties:
  5038. accountid:
  5039. description: 账户ID[报价币种]
  5040. type: integer
  5041. buildtype:
  5042. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  5043. type: integer
  5044. buyorsell:
  5045. description: 方向 - 0:买 1:卖
  5046. type: integer
  5047. charge:
  5048. description: 手续费
  5049. type: number
  5050. closecharge:
  5051. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5052. type: number
  5053. closeexchagechargevalue:
  5054. description: 平仓交易所手续费设置值
  5055. type: number
  5056. closefeealgorithm:
  5057. description: 平仓手续费收取方式 1:比率 2:固定
  5058. type: integer
  5059. closememberchargevalue:
  5060. description: 平仓会员手续费设置值
  5061. type: number
  5062. closepl:
  5063. description: 平仓盈亏
  5064. type: number
  5065. closepl2:
  5066. description: 平仓盈亏[逐笔]
  5067. type: number
  5068. closeqty:
  5069. description: 平仓数量(先建后平操作 需要记录)
  5070. type: integer
  5071. creditamount:
  5072. description: 授信金额
  5073. type: number
  5074. gcaccountid:
  5075. description: 账户ID[合约币种]
  5076. type: integer
  5077. goodscode:
  5078. description: 商品代码
  5079. type: string
  5080. goodsid:
  5081. description: 商品ID
  5082. type: integer
  5083. goodsname:
  5084. description: 商品名称
  5085. type: string
  5086. intclosepl:
  5087. description: 整型盈亏(用于交易结算试算平衡-收益权)
  5088. type: integer
  5089. isconfirmexercise:
  5090. description: 是否确认行权- 0:否 1:是
  5091. type: integer
  5092. ismain:
  5093. description: 是否主单 - 0:不是 1:是
  5094. type: integer
  5095. ispreexercise:
  5096. description: 是否预申报- 0:否 1:是
  5097. type: integer
  5098. isreckoned:
  5099. description: 是否结算 - 0:未结算 1:已结算
  5100. type: integer
  5101. listingselecttype:
  5102. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5103. type: integer
  5104. marketid:
  5105. description: 市场ID
  5106. type: integer
  5107. marketname:
  5108. description: 市场名称
  5109. type: string
  5110. matchaccountid:
  5111. description: 对手账号id
  5112. type: integer
  5113. memberuserid:
  5114. description: 会员id 个人投资者 需要填写
  5115. type: integer
  5116. opencharge:
  5117. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5118. type: number
  5119. openexchagechargevalue:
  5120. description: 建仓交易所手续费设置值
  5121. type: number
  5122. openfeealgorithm:
  5123. description: 建仓手续费收取方式 1:比率 2:固定
  5124. type: integer
  5125. openmemberchargevalue:
  5126. description: 建仓会员手续费设置值
  5127. type: number
  5128. openqty:
  5129. description: 开仓数量(先建后平操作 需要记录)
  5130. type: integer
  5131. optiontype:
  5132. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  5133. type: integer
  5134. orderid:
  5135. description: 委托单号
  5136. type: string
  5137. performanceplanid:
  5138. description: 履约计划ID[期权]
  5139. type: integer
  5140. performancestatus:
  5141. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  5142. type: integer
  5143. preexerciseprice:
  5144. description: 预申报价格
  5145. type: number
  5146. premium:
  5147. description: 权利金 - [持仓单的权利金]
  5148. type: number
  5149. relatedouttradeid:
  5150. description: 关联外部成交单ID
  5151. type: integer
  5152. status:
  5153. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  5154. type: integer
  5155. tradeamount:
  5156. description: 成交金额[账户币种,用于所有权]
  5157. type: number
  5158. tradedate:
  5159. description: 交易日(yyyyMMdd)
  5160. type: string
  5161. tradeid:
  5162. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5163. type: string
  5164. trademode:
  5165. description: 交易模式
  5166. type: integer
  5167. tradeprice:
  5168. description: 成交价格
  5169. type: number
  5170. tradeproperty:
  5171. description: 交易属性
  5172. type: integer
  5173. tradeqty:
  5174. description: 成交数量
  5175. type: integer
  5176. tradetime:
  5177. description: 成交时间
  5178. type: string
  5179. tradetype:
  5180. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  5181. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  5182. type: integer
  5183. required:
  5184. - accountid
  5185. - buyorsell
  5186. - goodsid
  5187. - marketid
  5188. - memberuserid
  5189. - orderid
  5190. - tradeamount
  5191. - tradedate
  5192. - tradeid
  5193. - tradeprice
  5194. - tradeqty
  5195. - tradetime
  5196. type: object
  5197. order.QueryTradeOrderDetailRsp:
  5198. properties:
  5199. accountid:
  5200. description: 账户ID[报价币种]
  5201. type: integer
  5202. buildtype:
  5203. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  5204. type: integer
  5205. buyorsell:
  5206. description: 买卖 - 0:买 1:卖
  5207. type: integer
  5208. cancelorderid:
  5209. description: 撤单单号(撤单时填写)
  5210. type: string
  5211. cancelqty:
  5212. description: 撤单数量
  5213. type: integer
  5214. clienttype:
  5215. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  5216. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  5217. type: integer
  5218. closefreezecharge:
  5219. description: 平仓冻结手续费(先建后平操作,需要记录)
  5220. type: number
  5221. closeqty:
  5222. description: 平仓数量(先建后平操作 需要记录)
  5223. type: integer
  5224. closetradeqty:
  5225. description: 平仓成交数量(先建后平操作,需要记录)
  5226. type: integer
  5227. closeunfreezecharge:
  5228. description: 平仓解冻手续费(先建后平操作,需要记录)
  5229. type: number
  5230. delistingtype:
  5231. description: 摘牌类型 - 1:价格最优 2:点选成交
  5232. type: integer
  5233. enableqty:
  5234. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  5235. type: integer
  5236. freezecharge:
  5237. description: 冻结手续费
  5238. type: number
  5239. freezemargin:
  5240. description: 冻结保证金(冻结交易金额)
  5241. type: number
  5242. goodscode:
  5243. description: 商品代码
  5244. type: string
  5245. goodsid:
  5246. description: 商品ID
  5247. type: integer
  5248. goodsname:
  5249. description: 商品名称
  5250. type: string
  5251. listingselecttype:
  5252. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5253. type: integer
  5254. marketid:
  5255. description: 市场ID
  5256. type: integer
  5257. marketname:
  5258. description: 市场名称
  5259. type: string
  5260. openfreezecharge:
  5261. description: 开仓冻结手续费(先建后平操作,需要记录)
  5262. type: number
  5263. openqty:
  5264. description: 开仓数量(先建后平操作,需要记录)
  5265. type: integer
  5266. opentradeqty:
  5267. description: 开仓成交数量(先建后平操作,需要记录)
  5268. type: integer
  5269. openunfreezecharge:
  5270. description: 开仓解冻手续费(先建后平操作,需要记录)
  5271. type: number
  5272. operatetype:
  5273. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  5274. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  5275. 15:管理端协议转让
  5276. type: integer
  5277. operatorid:
  5278. description: 登录账号(LoginID)
  5279. type: integer
  5280. orderid:
  5281. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5282. type: string
  5283. orderprice:
  5284. description: 委托价格
  5285. type: number
  5286. orderqty:
  5287. description: 委托数量
  5288. type: integer
  5289. ordersrc:
  5290. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  5291. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  5292. type: integer
  5293. orderstatus:
  5294. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5295. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5296. 16:成交失败违约(荷兰式竞拍专用)
  5297. type: integer
  5298. ordertime:
  5299. description: 委托时间
  5300. type: string
  5301. preorderid:
  5302. description: 关联预埋单号(止盈止损单时填写)
  5303. type: string
  5304. pricemode:
  5305. description: '取价方式 - 1:市价 2: 限价'
  5306. type: integer
  5307. relatedid:
  5308. description: 关联单号(交割单)
  5309. type: string
  5310. tradedate:
  5311. description: 交易日(yyyyMMdd)
  5312. type: string
  5313. trademode:
  5314. description: 交易模式
  5315. type: integer
  5316. tradeqty:
  5317. description: 成交数量
  5318. type: integer
  5319. unfreezecharge:
  5320. description: 解冻手续费
  5321. type: number
  5322. unfreezemargin:
  5323. description: 解冻保证金
  5324. type: number
  5325. validtime:
  5326. description: 有效期限
  5327. type: string
  5328. validtype:
  5329. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  5330. type: integer
  5331. volumetype:
  5332. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  5333. type: integer
  5334. required:
  5335. - accountid
  5336. - buildtype
  5337. - buyorsell
  5338. - goodsid
  5339. - marketid
  5340. - operatetype
  5341. - orderqty
  5342. - ordertime
  5343. - pricemode
  5344. - tradedate
  5345. - validtype
  5346. type: object
  5347. order.QueryTradePositionRsp:
  5348. properties:
  5349. accountid:
  5350. description: 资金账户
  5351. type: integer
  5352. agreeunit:
  5353. description: 合约单位
  5354. type: number
  5355. averageprice:
  5356. description: 持仓均价
  5357. type: number
  5358. buyorsell:
  5359. description: 方向 - 0:买 1:卖
  5360. type: integer
  5361. closetotalqty:
  5362. description: 平仓总数量
  5363. type: integer
  5364. curholderamount:
  5365. description: 当前持仓总金额[商品币种]
  5366. type: number
  5367. curpositionqty:
  5368. description: 当前持仓总数量
  5369. type: integer
  5370. currencyid:
  5371. description: 报价货币ID
  5372. type: integer
  5373. curtdposition:
  5374. description: 期末今日头寸
  5375. type: integer
  5376. decimalplace:
  5377. description: 报价小数位
  5378. type: integer
  5379. enableqty:
  5380. description: 可用量
  5381. type: integer
  5382. fretdposition:
  5383. description: 冻结今日头寸
  5384. type: integer
  5385. frozenqty:
  5386. description: 持仓冻结数量
  5387. type: integer
  5388. goodscode:
  5389. description: 商品代码
  5390. type: string
  5391. goodsid:
  5392. description: 商品Id
  5393. type: integer
  5394. goodsname:
  5395. description: 商品名称
  5396. type: string
  5397. goodunit:
  5398. description: 报价单位
  5399. type: string
  5400. goodunitid:
  5401. description: 报价单位ID
  5402. type: integer
  5403. holderamount:
  5404. description: 期初持仓总金额[商品币种]
  5405. type: number
  5406. marketid:
  5407. description: 所属市场ID
  5408. type: integer
  5409. openreqqty:
  5410. description: 开仓申请数量(用于比较最大持仓数量)
  5411. type: integer
  5412. opentotalqty:
  5413. description: 开仓总数量
  5414. type: integer
  5415. otherfrozenqty:
  5416. description: 持仓其他冻结数量(交割冻结)
  5417. type: integer
  5418. positionqty:
  5419. description: 期初持仓数量
  5420. type: integer
  5421. tnqty:
  5422. description: T+N冻结总量
  5423. type: integer
  5424. tnusedqty:
  5425. description: T+N使用量(可以使用T+N的冻结数量)
  5426. type: integer
  5427. trademode:
  5428. description: 交易模式
  5429. type: integer
  5430. usedmargin:
  5431. description: 占用保证金[商品币种]
  5432. type: number
  5433. required:
  5434. - goodsid
  5435. type: object
  5436. quote.HistoryData:
  5437. properties:
  5438. c:
  5439. description: 收盘价
  5440. type: number
  5441. h:
  5442. description: 最高价
  5443. type: number
  5444. hv:
  5445. description: 持仓量
  5446. type: integer
  5447. l:
  5448. description: 最低价
  5449. type: number
  5450. o:
  5451. description: 开盘价
  5452. type: number
  5453. s:
  5454. description: 结算价,日线周期(包括)以上才有
  5455. type: number
  5456. ts:
  5457. description: 时间
  5458. type: string
  5459. tt:
  5460. description: 总金额
  5461. type: number
  5462. tv:
  5463. description: 总量
  5464. type: integer
  5465. type: object
  5466. quote.QueryTSDataRsp:
  5467. properties:
  5468. decimalPlace:
  5469. description: 小数位
  5470. type: integer
  5471. endTime:
  5472. description: 结束时间
  5473. type: string
  5474. goodsCode:
  5475. description: 商品代码
  5476. type: string
  5477. historyDatas:
  5478. description: 历史数据
  5479. items:
  5480. $ref: '#/definitions/quote.HistoryData'
  5481. type: array
  5482. preSettle:
  5483. description: 昨结
  5484. type: number
  5485. startTime:
  5486. description: 开始时间
  5487. type: string
  5488. tradeDate:
  5489. description: 交易日
  5490. type: string
  5491. type: object
  5492. szdz.QueryConvertLogRsp:
  5493. properties:
  5494. accountid:
  5495. description: 资金账户ID
  5496. type: integer
  5497. clientticket:
  5498. description: 客户端流水号
  5499. type: string
  5500. converttype:
  5501. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  5502. type: integer
  5503. createtime:
  5504. description: 记账时间
  5505. type: string
  5506. daymaxvalue:
  5507. description: 配置当日最大转入限制
  5508. type: number
  5509. daymaxvalue2:
  5510. description: 配置当日最大转入限制(转入)
  5511. type: number
  5512. goodscode:
  5513. description: 商品代码
  5514. type: string
  5515. goodsname:
  5516. description: 商品名称
  5517. type: string
  5518. handlestatus:
  5519. description: 处理状态
  5520. type: integer
  5521. innergoodsid:
  5522. description: 内部商品ID
  5523. type: integer
  5524. inratio:
  5525. description: 配置转入比值
  5526. type: integer
  5527. invalue:
  5528. description: 目标值
  5529. type: number
  5530. logid:
  5531. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5532. type: integer
  5533. mobile:
  5534. description: 手机号码(加密存储)
  5535. type: string
  5536. outergoodscode:
  5537. description: 外部商品代码[JD\PD]
  5538. type: string
  5539. outratio:
  5540. description: 配置转出比值
  5541. type: integer
  5542. outvalue:
  5543. description: 源值
  5544. type: number
  5545. pddecimalplace:
  5546. description: PD小数位
  5547. type: integer
  5548. qty:
  5549. description: 数量
  5550. type: string
  5551. remark:
  5552. description: 备注
  5553. type: string
  5554. sessionid:
  5555. description: 会话ID
  5556. type: integer
  5557. timemaxvalue:
  5558. description: 配置单次最大转入限制
  5559. type: number
  5560. timemaxvalue2:
  5561. description: 配置单次最大转入限制(转入)
  5562. type: number
  5563. timeminvalue:
  5564. description: 配置单次最小数量限制
  5565. type: number
  5566. timeminvalue2:
  5567. description: 配置单次最小数量限制(转入)
  5568. type: number
  5569. tradedate:
  5570. description: 交易日(yyyyMMdd)
  5571. type: string
  5572. userid:
  5573. description: 用户ID
  5574. type: integer
  5575. required:
  5576. - logid
  5577. type: object
  5578. szdz.QueryGoodsPickupRsp:
  5579. properties:
  5580. accountid:
  5581. description: 账户ID
  5582. type: integer
  5583. address:
  5584. description: 提货人详细地址
  5585. type: string
  5586. auditer:
  5587. description: 审核人
  5588. type: integer
  5589. audittime:
  5590. description: 审核时间
  5591. type: string
  5592. cardnum:
  5593. description: 提货人证件号码
  5594. type: string
  5595. cardtypeid:
  5596. description: 提货人证件类型
  5597. type: integer
  5598. checkremark:
  5599. description: 审核备注
  5600. type: string
  5601. goodscode:
  5602. description: 商品代码
  5603. type: string
  5604. goodsid:
  5605. description: 商品ID
  5606. type: integer
  5607. goodsname:
  5608. description: 商品名称
  5609. type: string
  5610. handlestatus:
  5611. description: 处理状态
  5612. type: integer
  5613. marketid:
  5614. description: 市场ID
  5615. type: integer
  5616. phonenum:
  5617. description: 提货人联系方式
  5618. type: string
  5619. qty:
  5620. description: 提货数量
  5621. type: number
  5622. recivername:
  5623. description: 提货人姓名
  5624. type: string
  5625. reqtime:
  5626. description: 更新时间
  5627. type: string
  5628. takemode:
  5629. description: 提货方式 - 2:自提 3:配送
  5630. type: integer
  5631. takeorderid:
  5632. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  5633. type: string
  5634. takeorderstatus:
  5635. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5636. type: integer
  5637. takeremark:
  5638. description: 提货备注
  5639. type: string
  5640. tradedate:
  5641. description: 交易日(yyyyMMdd)
  5642. type: string
  5643. userid:
  5644. description: 用户ID
  5645. type: integer
  5646. required:
  5647. - takeorderid
  5648. type: object
  5649. szdz.QueryRecieptOrderRsp:
  5650. properties:
  5651. accountName:
  5652. description: 所属账号名称(已脱敏)
  5653. type: string
  5654. accountid:
  5655. description: 资金账号
  5656. type: integer
  5657. buyorsell:
  5658. description: 方向 - 0:买 1:卖
  5659. type: integer
  5660. enableqty:
  5661. description: 可摘数量
  5662. type: integer
  5663. goodscode:
  5664. description: 商品代码
  5665. type: string
  5666. goodsid:
  5667. description: 商品ID
  5668. type: integer
  5669. goodsname:
  5670. description: 商品名称
  5671. type: string
  5672. orderid:
  5673. description: 委托单号
  5674. type: string
  5675. orderprice:
  5676. description: 委托价格
  5677. type: number
  5678. ordertime:
  5679. description: 委托时间
  5680. type: string
  5681. tradedate:
  5682. description: 交易日(yyyyMMdd)
  5683. type: string
  5684. required:
  5685. - ordertime
  5686. type: object
  5687. szdz.QuerySZDZTradePositionRsp:
  5688. properties:
  5689. accountid:
  5690. description: 账号Id
  5691. type: integer
  5692. agreeunit:
  5693. description: 合约单位
  5694. type: number
  5695. averageprice:
  5696. description: 持仓均价
  5697. type: number
  5698. buyorsell:
  5699. description: 方向 - 0:买 1:卖
  5700. type: integer
  5701. closetotalqty:
  5702. description: 平仓总数量
  5703. type: integer
  5704. curholderamount:
  5705. description: 当前持仓总金额
  5706. type: number
  5707. curpositionqty:
  5708. description: 当前持仓总数量
  5709. type: integer
  5710. currencyid:
  5711. description: 报价货币ID
  5712. type: integer
  5713. curtdposition:
  5714. description: 期末今日头寸
  5715. type: integer
  5716. decimalplace:
  5717. description: 报价小数位
  5718. type: integer
  5719. enableqty:
  5720. description: 可用量
  5721. type: integer
  5722. fretdposition:
  5723. description: 冻结今日头寸
  5724. type: integer
  5725. frozenqty:
  5726. description: 持仓冻结数量
  5727. type: integer
  5728. goodscode:
  5729. description: 商品代码(内部)
  5730. type: string
  5731. goodsid:
  5732. description: 商品Id
  5733. type: integer
  5734. goodsname:
  5735. description: 商品名称
  5736. type: string
  5737. goodunit:
  5738. description: 报价单位
  5739. type: string
  5740. goodunitid:
  5741. description: 报价单位ID
  5742. type: integer
  5743. holderamount:
  5744. description: 期初持仓总金额
  5745. type: number
  5746. marketid:
  5747. description: 市场ID
  5748. type: integer
  5749. openreqqty:
  5750. description: 开仓申请数量
  5751. type: integer
  5752. opentotalqty:
  5753. description: 开仓总数量
  5754. type: integer
  5755. otherfrozenqty:
  5756. description: 持仓其他冻结数量(交割冻结)
  5757. type: integer
  5758. positionqty:
  5759. description: 期初持仓数量
  5760. type: integer
  5761. szdz3freezqty:
  5762. description: 尚志大宗转换冻结总数量
  5763. type: integer
  5764. tnqty:
  5765. description: T+N冻结总量
  5766. type: integer
  5767. tnusedqty:
  5768. description: T+N使用量
  5769. type: integer
  5770. trademode:
  5771. description: 交易模式
  5772. type: integer
  5773. usedmargin:
  5774. description: 占用保证金
  5775. type: number
  5776. type: object
  5777. taaccount.QueryAmountLogRsp:
  5778. properties:
  5779. OPERATETYPENAME:
  5780. description: 资金操作类型名称
  5781. type: string
  5782. accountid:
  5783. description: 资金账户ID
  5784. type: integer
  5785. agoodscode:
  5786. description: 竞拍商品代码
  5787. type: string
  5788. agoodsname:
  5789. description: 竞拍商品名称
  5790. type: string
  5791. amount:
  5792. description: 资金金额
  5793. type: number
  5794. amountadjusttype:
  5795. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  5796. type: integer
  5797. autoid:
  5798. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  5799. type: integer
  5800. balance:
  5801. description: 期初余额
  5802. type: number
  5803. businesscode:
  5804. description: 业务编号
  5805. type: integer
  5806. createtime:
  5807. description: 发生时间
  5808. type: string
  5809. currencyid:
  5810. description: 币种ID
  5811. type: integer
  5812. currentbalance:
  5813. description: 期末余额(变动后金额)
  5814. type: number
  5815. dgoodscode:
  5816. description: 交割商品代码
  5817. type: string
  5818. dgoodsname:
  5819. description: 交割商品名称
  5820. type: string
  5821. goodscode:
  5822. description: 商品代码
  5823. type: string
  5824. goodsid:
  5825. description: 商品ID
  5826. type: integer
  5827. goodsname:
  5828. description: 商品名称
  5829. type: string
  5830. marketid:
  5831. description: 市场ID
  5832. type: integer
  5833. marketname:
  5834. description: 市场名称
  5835. type: string
  5836. moneyticket:
  5837. description: 资金流水号:银行端流水号
  5838. type: integer
  5839. operatetype:
  5840. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  5841. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  5842. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  5843. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  5844. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  5845. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  5846. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  5847. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  5848. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  5849. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  5850. type: integer
  5851. relationorderid:
  5852. description: 关联单号
  5853. type: string
  5854. remark:
  5855. description: 备注
  5856. type: string
  5857. trademode:
  5858. description: 交易模式
  5859. type: integer
  5860. required:
  5861. - accountid
  5862. - amount
  5863. - amountadjusttype
  5864. - autoid
  5865. - balance
  5866. - createtime
  5867. - currentbalance
  5868. - operatetype
  5869. type: object
  5870. taaccount.QueryHisAmountLogRsp:
  5871. properties:
  5872. OPERATETYPENAME:
  5873. description: 资金操作类型名称
  5874. type: string
  5875. accountid:
  5876. description: 资金账户ID
  5877. type: integer
  5878. agoodscode:
  5879. description: 竞拍商品代码
  5880. type: string
  5881. agoodsname:
  5882. description: 竞拍商品名称
  5883. type: string
  5884. amount:
  5885. description: 资金金额
  5886. type: number
  5887. amountadjusttype:
  5888. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  5889. type: integer
  5890. autoid:
  5891. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  5892. type: integer
  5893. balance:
  5894. description: 期初余额
  5895. type: number
  5896. businesscode:
  5897. description: 业务编号
  5898. type: integer
  5899. createtime:
  5900. description: 发生时间
  5901. type: string
  5902. currencyid:
  5903. description: 币种ID
  5904. type: integer
  5905. currentbalance:
  5906. description: 期末余额(变动后金额)
  5907. type: number
  5908. dgoodscode:
  5909. description: 交割商品代码
  5910. type: string
  5911. dgoodsname:
  5912. description: 交割商品名称
  5913. type: string
  5914. goodscode:
  5915. description: 商品代码
  5916. type: string
  5917. goodsid:
  5918. description: 商品ID
  5919. type: integer
  5920. goodsname:
  5921. description: 商品名称
  5922. type: string
  5923. histradedate:
  5924. description: 历史交易日
  5925. type: string
  5926. isvaliddata:
  5927. description: 是否有效 - 0:无效 1:有效
  5928. type: integer
  5929. marketid:
  5930. description: 市场ID
  5931. type: integer
  5932. marketname:
  5933. description: 市场名称
  5934. type: string
  5935. moneyticket:
  5936. description: 资金流水号:银行端流水号
  5937. type: integer
  5938. operatetype:
  5939. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  5940. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  5941. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  5942. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  5943. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  5944. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  5945. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  5946. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  5947. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  5948. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  5949. type: integer
  5950. relationorderid:
  5951. description: 关联单号
  5952. type: string
  5953. remark:
  5954. description: 备注
  5955. type: string
  5956. trademode:
  5957. description: 交易模式
  5958. type: integer
  5959. required:
  5960. - accountid
  5961. - amount
  5962. - amountadjusttype
  5963. - autoid
  5964. - balance
  5965. - createtime
  5966. - currentbalance
  5967. - histradedate
  5968. - operatetype
  5969. type: object
  5970. trade.QueryRecieptOrderRsp:
  5971. properties:
  5972. accountName:
  5973. description: 所属账号名称(已脱敏)
  5974. type: string
  5975. accountid:
  5976. description: 资金账号
  5977. type: integer
  5978. buyorsell:
  5979. description: 方向 - 0:买 1:卖
  5980. type: integer
  5981. enableqty:
  5982. description: 可摘数量
  5983. type: integer
  5984. goodscode:
  5985. description: 商品代码
  5986. type: string
  5987. goodsid:
  5988. description: 商品ID
  5989. type: integer
  5990. goodsname:
  5991. description: 商品名称
  5992. type: string
  5993. orderid:
  5994. description: 委托单号
  5995. type: string
  5996. orderprice:
  5997. description: 委托价格
  5998. type: number
  5999. ordertime:
  6000. description: 委托时间
  6001. type: string
  6002. tradedate:
  6003. description: 交易日(yyyyMMdd)
  6004. type: string
  6005. required:
  6006. - ordertime
  6007. type: object
  6008. info:
  6009. contact: {}
  6010. description: 新的查询服务,替代原通用查询服务。
  6011. license: {}
  6012. termsOfService: http://muchinfo.cn
  6013. title: MTP2.0 查询服务 API
  6014. version: "1.0"
  6015. paths:
  6016. /CPTrade/QueryCPTradeMyBidInfos:
  6017. get:
  6018. parameters:
  6019. - description: 资金账户
  6020. in: query
  6021. name: accountid
  6022. required: true
  6023. type: integer
  6024. - description: 预售市场ID
  6025. in: query
  6026. name: marketid
  6027. type: integer
  6028. - description: 预售商品ID
  6029. in: query
  6030. name: goodsid
  6031. type: integer
  6032. produces:
  6033. - application/json
  6034. responses:
  6035. "200":
  6036. description: OK
  6037. schema:
  6038. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  6039. "500":
  6040. description: Internal Server Error
  6041. schema:
  6042. $ref: '#/definitions/app.Response'
  6043. security:
  6044. - ApiKeyAuth: []
  6045. summary: 查询产能预售我的出价信息
  6046. tags:
  6047. - 产能预售
  6048. /CPTrade/QueryCPTradeOrderDetail:
  6049. get:
  6050. parameters:
  6051. - description: 预售商品ID
  6052. in: query
  6053. name: goodsid
  6054. type: integer
  6055. - description: 预售市场ID
  6056. in: query
  6057. name: marketid
  6058. type: integer
  6059. - description: 预售商品ID列表 - 格式:1,2,3
  6060. in: query
  6061. name: goodsids
  6062. type: string
  6063. produces:
  6064. - application/json
  6065. responses:
  6066. "200":
  6067. description: OK
  6068. schema:
  6069. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  6070. "500":
  6071. description: Internal Server Error
  6072. schema:
  6073. $ref: '#/definitions/app.Response'
  6074. security:
  6075. - ApiKeyAuth: []
  6076. summary: 查询产能预售委托单信息
  6077. tags:
  6078. - 产能预售
  6079. /CPTrade/QueryMyCPTradeGoods:
  6080. get:
  6081. parameters:
  6082. - description: 资金账户
  6083. in: query
  6084. name: accountid
  6085. required: true
  6086. type: integer
  6087. produces:
  6088. - application/json
  6089. responses:
  6090. "200":
  6091. description: OK
  6092. schema:
  6093. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  6094. "500":
  6095. description: Internal Server Error
  6096. schema:
  6097. $ref: '#/definitions/app.Response'
  6098. security:
  6099. - ApiKeyAuth: []
  6100. summary: 查询我的预售信息
  6101. tags:
  6102. - 产能预售
  6103. /CPTrade/QueryPositionCancel:
  6104. get:
  6105. parameters:
  6106. - description: 账户ID
  6107. in: query
  6108. name: userid
  6109. required: true
  6110. type: integer
  6111. - description: 注销ID
  6112. in: query
  6113. name: cancelid
  6114. type: integer
  6115. - description: 资金账户ID
  6116. in: query
  6117. name: accountid
  6118. type: integer
  6119. produces:
  6120. - application/json
  6121. responses:
  6122. "200":
  6123. description: OK
  6124. schema:
  6125. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  6126. "500":
  6127. description: Internal Server Error
  6128. schema:
  6129. $ref: '#/definitions/app.Response'
  6130. security:
  6131. - ApiKeyAuth: []
  6132. summary: 查询远期订单注销申请信息
  6133. tags:
  6134. - 产能预售
  6135. /CPTrade/QueryPreasleApply:
  6136. get:
  6137. parameters:
  6138. - description: 账户ID
  6139. in: query
  6140. name: userid
  6141. required: true
  6142. type: integer
  6143. - description: 申请ID
  6144. in: query
  6145. name: applyid
  6146. type: integer
  6147. - description: 资金账户ID
  6148. in: query
  6149. name: accountid
  6150. type: integer
  6151. produces:
  6152. - application/json
  6153. responses:
  6154. "200":
  6155. description: OK
  6156. schema:
  6157. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  6158. "500":
  6159. description: Internal Server Error
  6160. schema:
  6161. $ref: '#/definitions/app.Response'
  6162. security:
  6163. - ApiKeyAuth: []
  6164. summary: 查询产能预售申请信息
  6165. tags:
  6166. - 产能预售
  6167. /CPTrade/QueryPresaleGoodsEx:
  6168. get:
  6169. parameters:
  6170. - description: 预售商品ID
  6171. in: query
  6172. name: goodsid
  6173. type: integer
  6174. - description: 预售市场ID
  6175. in: query
  6176. name: marketid
  6177. type: integer
  6178. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  6179. in: query
  6180. name: presalemode
  6181. type: integer
  6182. - description: 预售商品ID列表 - 格式:1,2,3
  6183. in: query
  6184. name: goodsids
  6185. type: string
  6186. - description: 预售商品代码
  6187. in: query
  6188. name: goodscode
  6189. type: string
  6190. produces:
  6191. - application/json
  6192. responses:
  6193. "200":
  6194. description: OK
  6195. schema:
  6196. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  6197. "500":
  6198. description: Internal Server Error
  6199. schema:
  6200. $ref: '#/definitions/app.Response'
  6201. security:
  6202. - ApiKeyAuth: []
  6203. summary: 查询产能预售商品扩展信息
  6204. tags:
  6205. - 产能预售
  6206. /CPTrade/QueryUserGoodsData:
  6207. get:
  6208. parameters:
  6209. - description: 资金账户ID
  6210. in: query
  6211. name: accountid
  6212. required: true
  6213. type: integer
  6214. produces:
  6215. - application/json
  6216. responses:
  6217. "200":
  6218. description: OK
  6219. schema:
  6220. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  6221. "500":
  6222. description: Internal Server Error
  6223. schema:
  6224. $ref: '#/definitions/app.Response'
  6225. security:
  6226. - ApiKeyAuth: []
  6227. summary: 查询远期订单信息
  6228. tags:
  6229. - 产能预售
  6230. /Common/GetAllEnums:
  6231. get:
  6232. produces:
  6233. - application/json
  6234. responses:
  6235. "200":
  6236. description: OK
  6237. schema:
  6238. $ref: '#/definitions/models.Enumdicitem'
  6239. "500":
  6240. description: Internal Server Error
  6241. schema:
  6242. $ref: '#/definitions/app.Response'
  6243. summary: 获取所有枚举信息
  6244. tags:
  6245. - 通用服务
  6246. /Common/GetServerTime:
  6247. get:
  6248. produces:
  6249. - application/json
  6250. responses:
  6251. "200":
  6252. description: OK
  6253. schema:
  6254. $ref: '#/definitions/app.Response'
  6255. "500":
  6256. description: Internal Server Error
  6257. schema:
  6258. $ref: '#/definitions/app.Response'
  6259. summary: 获取服务器时间
  6260. tags:
  6261. - 通用服务
  6262. /Common/NoticeReaded:
  6263. post:
  6264. parameters:
  6265. - description: 登录账号
  6266. in: query
  6267. name: loginID
  6268. required: true
  6269. type: integer
  6270. - description: 通知公告ID
  6271. in: query
  6272. name: noticeID
  6273. required: true
  6274. type: integer
  6275. produces:
  6276. - application/json
  6277. responses:
  6278. "200":
  6279. description: OK
  6280. schema:
  6281. $ref: '#/definitions/app.Response'
  6282. "500":
  6283. description: Internal Server Error
  6284. schema:
  6285. $ref: '#/definitions/app.Response'
  6286. security:
  6287. - ApiKeyAuth: []
  6288. summary: 通知公告设置已读请求
  6289. tags:
  6290. - 通用服务
  6291. /Common/QueryImageConfigs:
  6292. get:
  6293. parameters:
  6294. - description: 类型 - 1:App首页轮播 2:我的
  6295. in: query
  6296. name: imageType
  6297. type: integer
  6298. produces:
  6299. - application/json
  6300. responses:
  6301. "200":
  6302. description: OK
  6303. schema:
  6304. $ref: '#/definitions/models.Szdz2imageconfig'
  6305. "500":
  6306. description: Internal Server Error
  6307. schema:
  6308. $ref: '#/definitions/app.Response'
  6309. summary: 查询轮播图配置信息
  6310. tags:
  6311. - 通用服务
  6312. /Common/QueryNotice:
  6313. get:
  6314. parameters:
  6315. - description: 页码
  6316. in: query
  6317. name: page
  6318. type: integer
  6319. - description: 每页条数
  6320. in: query
  6321. name: pagesize
  6322. type: integer
  6323. - description: 登录账号
  6324. in: query
  6325. name: loginID
  6326. required: true
  6327. type: integer
  6328. - description: 消息类型 - 1:公告通知 2:系统消息
  6329. in: query
  6330. name: msgType
  6331. type: integer
  6332. - description: 是否只获取未读信息
  6333. in: query
  6334. name: onlyUnRead
  6335. type: boolean
  6336. produces:
  6337. - application/json
  6338. responses:
  6339. "200":
  6340. description: OK
  6341. schema:
  6342. $ref: '#/definitions/common.QueryNoticeRsp'
  6343. "500":
  6344. description: Internal Server Error
  6345. schema:
  6346. $ref: '#/definitions/app.Response'
  6347. security:
  6348. - ApiKeyAuth: []
  6349. summary: 通知公告系统消息查询
  6350. tags:
  6351. - 通用服务
  6352. /Common/QueryProvincesAndCities:
  6353. get:
  6354. parameters:
  6355. - description: 省ID
  6356. in: query
  6357. name: provinceID
  6358. type: integer
  6359. produces:
  6360. - application/json
  6361. responses:
  6362. "200":
  6363. description: OK
  6364. schema:
  6365. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  6366. "500":
  6367. description: Internal Server Error
  6368. schema:
  6369. $ref: '#/definitions/app.Response'
  6370. summary: 查询省市信息(不包括区)
  6371. tags:
  6372. - 通用服务
  6373. /Common/QueryTableDefine:
  6374. get:
  6375. parameters:
  6376. - description: 表key
  6377. in: query
  6378. name: tableKey
  6379. type: string
  6380. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  6381. in: query
  6382. name: tableType
  6383. type: integer
  6384. produces:
  6385. - application/json
  6386. responses:
  6387. "200":
  6388. description: OK
  6389. schema:
  6390. $ref: '#/definitions/common.QueryTableDefineRsp'
  6391. "500":
  6392. description: Internal Server Error
  6393. schema:
  6394. $ref: '#/definitions/app.Response'
  6395. summary: 查询交易端列表头信息
  6396. tags:
  6397. - 通用服务
  6398. /Common/QueryTraderMenu:
  6399. get:
  6400. parameters:
  6401. - description: 登录账号
  6402. in: query
  6403. name: loginid
  6404. required: true
  6405. type: integer
  6406. produces:
  6407. - application/json
  6408. responses:
  6409. "200":
  6410. description: OK
  6411. schema:
  6412. $ref: '#/definitions/common.QueryTraderMenuRsp'
  6413. "500":
  6414. description: Internal Server Error
  6415. schema:
  6416. $ref: '#/definitions/app.Response'
  6417. summary: 查询交易端菜单
  6418. tags:
  6419. - 通用服务
  6420. /Delivery/QueryDeliveryRelation:
  6421. get:
  6422. parameters:
  6423. - description: 商品ID
  6424. in: query
  6425. name: goodsid
  6426. type: integer
  6427. - description: 品种ID
  6428. in: query
  6429. name: deliverygoodsid
  6430. type: integer
  6431. - description: 市场ID
  6432. in: query
  6433. name: marketid
  6434. type: integer
  6435. produces:
  6436. - application/json
  6437. responses:
  6438. "200":
  6439. description: OK
  6440. schema:
  6441. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  6442. "500":
  6443. description: Internal Server Error
  6444. schema:
  6445. $ref: '#/definitions/app.Response'
  6446. security:
  6447. - ApiKeyAuth: []
  6448. summary: 查询商品交割关系表
  6449. tags:
  6450. - 交割服务
  6451. /Ermcp/QueryBusinessDj:
  6452. get:
  6453. produces:
  6454. - application/json
  6455. responses:
  6456. "200":
  6457. description: OK
  6458. schema:
  6459. items:
  6460. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  6461. type: array
  6462. "500":
  6463. description: Internal Server Error
  6464. schema:
  6465. $ref: '#/definitions/app.Response'
  6466. security:
  6467. - ApiKeyAuth: []
  6468. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  6469. tags:
  6470. - 企业风险管理(app)
  6471. /Ermcp/QueryBusinessFp:
  6472. get:
  6473. produces:
  6474. - application/json
  6475. responses:
  6476. "200":
  6477. description: OK
  6478. schema:
  6479. items:
  6480. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  6481. type: array
  6482. "500":
  6483. description: Internal Server Error
  6484. schema:
  6485. $ref: '#/definitions/app.Response'
  6486. security:
  6487. - ApiKeyAuth: []
  6488. summary: 查询业务管理(发票)(对应菜单:业务管理/发票)
  6489. tags:
  6490. - 企业风险管理(app)
  6491. /Ermcp/QueryBusinessJs:
  6492. get:
  6493. produces:
  6494. - application/json
  6495. responses:
  6496. "200":
  6497. description: OK
  6498. schema:
  6499. items:
  6500. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  6501. type: array
  6502. "500":
  6503. description: Internal Server Error
  6504. schema:
  6505. $ref: '#/definitions/app.Response'
  6506. security:
  6507. - ApiKeyAuth: []
  6508. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  6509. tags:
  6510. - 企业风险管理(app)
  6511. /Ermcp/QueryBusinessKx:
  6512. get:
  6513. produces:
  6514. - application/json
  6515. responses:
  6516. "200":
  6517. description: OK
  6518. schema:
  6519. items:
  6520. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  6521. type: array
  6522. "500":
  6523. description: Internal Server Error
  6524. schema:
  6525. $ref: '#/definitions/app.Response'
  6526. security:
  6527. - ApiKeyAuth: []
  6528. summary: 查询业务管理(款项)(对应菜单:业务管理/款项)
  6529. tags:
  6530. - 企业风险管理(app)
  6531. /Ermcp/QueryContract:
  6532. get:
  6533. parameters:
  6534. - description: 合同类型 1-采购, -1-销售
  6535. in: query
  6536. name: contracttype
  6537. required: true
  6538. type: integer
  6539. - description: 查询类型 1-全部 2-待点价 3-履约结算
  6540. in: query
  6541. name: QueryType
  6542. required: true
  6543. type: integer
  6544. produces:
  6545. - application/json
  6546. responses:
  6547. "200":
  6548. description: OK
  6549. schema:
  6550. items:
  6551. $ref: '#/definitions/ermcp.QryErmcpRsp'
  6552. type: array
  6553. "500":
  6554. description: Internal Server Error
  6555. schema:
  6556. $ref: '#/definitions/app.Response'
  6557. security:
  6558. - ApiKeyAuth: []
  6559. summary: 查询合同(采购和销售)
  6560. tags:
  6561. - 企业风险管理(app)
  6562. /Ermcp/QueryHedgePlan:
  6563. get:
  6564. parameters:
  6565. - description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6566. in: query
  6567. name: HedgePlanStatus
  6568. required: true
  6569. type: integer
  6570. produces:
  6571. - application/json
  6572. responses:
  6573. "200":
  6574. description: OK
  6575. schema:
  6576. items:
  6577. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  6578. type: array
  6579. "500":
  6580. description: Internal Server Error
  6581. schema:
  6582. $ref: '#/definitions/app.Response'
  6583. security:
  6584. - ApiKeyAuth: []
  6585. summary: 查询套保计划
  6586. tags:
  6587. - 企业风险管理(app)
  6588. /Ermcp/QuerySpotContract:
  6589. get:
  6590. parameters:
  6591. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  6592. in: query
  6593. name: QueryType
  6594. required: true
  6595. type: integer
  6596. produces:
  6597. - application/json
  6598. responses:
  6599. "200":
  6600. description: OK
  6601. schema:
  6602. items:
  6603. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  6604. type: array
  6605. "500":
  6606. description: Internal Server Error
  6607. schema:
  6608. $ref: '#/definitions/app.Response'
  6609. security:
  6610. - ApiKeyAuth: []
  6611. summary: 查询现货合同(对应现货合同菜单)
  6612. tags:
  6613. - 企业风险管理(app)
  6614. /Ermcp/QueryUserInfo:
  6615. get:
  6616. parameters:
  6617. - description: 账户状态(可填多个, 逗号隔开) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6618. in: query
  6619. name: AccountStatus
  6620. required: true
  6621. type: string
  6622. produces:
  6623. - application/json
  6624. responses:
  6625. "200":
  6626. description: OK
  6627. schema:
  6628. items:
  6629. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  6630. type: array
  6631. "500":
  6632. description: Internal Server Error
  6633. schema:
  6634. $ref: '#/definitions/app.Response'
  6635. security:
  6636. - ApiKeyAuth: []
  6637. summary: 查询客户资料
  6638. tags:
  6639. - 企业风险管理(app)
  6640. /Erms2/QueryArbitrageStrategy:
  6641. get:
  6642. parameters:
  6643. - description: 账户ID
  6644. in: query
  6645. name: userid
  6646. required: true
  6647. type: integer
  6648. - description: 商品组ID(品种ID)
  6649. in: query
  6650. name: goodsgroupid
  6651. type: string
  6652. produces:
  6653. - application/json
  6654. responses:
  6655. "200":
  6656. description: OK
  6657. schema:
  6658. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  6659. "500":
  6660. description: Internal Server Error
  6661. schema:
  6662. $ref: '#/definitions/app.Response'
  6663. security:
  6664. - ApiKeyAuth: []
  6665. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  6666. tags:
  6667. - 风险管理
  6668. /Erms2/QueryInnerTradeDetail:
  6669. get:
  6670. parameters:
  6671. - description: 资金账户
  6672. in: query
  6673. name: accountid
  6674. required: true
  6675. type: integer
  6676. produces:
  6677. - application/json
  6678. responses:
  6679. "200":
  6680. description: OK
  6681. schema:
  6682. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  6683. "500":
  6684. description: Internal Server Error
  6685. schema:
  6686. $ref: '#/definitions/app.Response'
  6687. security:
  6688. - ApiKeyAuth: []
  6689. summary: 查询内部成交单信息
  6690. tags:
  6691. - 风险管理
  6692. /Erms2/QuerySpotContract:
  6693. get:
  6694. parameters:
  6695. - description: 策略申请ID
  6696. in: query
  6697. name: asapplyid
  6698. required: true
  6699. type: integer
  6700. - description: 现货合同ID
  6701. in: query
  6702. name: spotcontractid
  6703. type: integer
  6704. produces:
  6705. - application/json
  6706. responses:
  6707. "200":
  6708. description: OK
  6709. schema:
  6710. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  6711. "500":
  6712. description: Internal Server Error
  6713. schema:
  6714. $ref: '#/definitions/app.Response'
  6715. security:
  6716. - ApiKeyAuth: []
  6717. summary: 查询现货合同表信息(指定策略ID、未结束的)
  6718. tags:
  6719. - 风险管理
  6720. /Erms3/AddErms2ASApply:
  6721. post:
  6722. parameters:
  6723. - description: 申请参数
  6724. in: body
  6725. name: jsonBody
  6726. required: true
  6727. schema:
  6728. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  6729. produces:
  6730. - application/json
  6731. responses:
  6732. "200":
  6733. description: OK
  6734. schema:
  6735. $ref: '#/definitions/app.Response'
  6736. "500":
  6737. description: Internal Server Error
  6738. schema:
  6739. $ref: '#/definitions/app.Response'
  6740. security:
  6741. - ApiKeyAuth: []
  6742. summary: 新增期现套利业务申请
  6743. tags:
  6744. - 风险管理v3
  6745. /Erms3/AddErms2SpotTradeApply:
  6746. post:
  6747. parameters:
  6748. - description: 申请参数
  6749. in: body
  6750. name: jsonBody
  6751. required: true
  6752. schema:
  6753. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  6754. produces:
  6755. - application/json
  6756. responses:
  6757. "200":
  6758. description: OK
  6759. schema:
  6760. $ref: '#/definitions/app.Response'
  6761. "500":
  6762. description: Internal Server Error
  6763. schema:
  6764. $ref: '#/definitions/app.Response'
  6765. security:
  6766. - ApiKeyAuth: []
  6767. summary: 新增现货贸易业务申请
  6768. tags:
  6769. - 风险管理v3
  6770. /Erms3/AddSpotContractApply:
  6771. post:
  6772. parameters:
  6773. - description: 申请参数
  6774. in: body
  6775. name: jsonBody
  6776. required: true
  6777. schema:
  6778. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  6779. produces:
  6780. - application/json
  6781. responses:
  6782. "200":
  6783. description: OK
  6784. schema:
  6785. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  6786. "500":
  6787. description: Internal Server Error
  6788. schema:
  6789. $ref: '#/definitions/app.Response'
  6790. security:
  6791. - ApiKeyAuth: []
  6792. summary: 新增现货合同申请
  6793. tags:
  6794. - 风险管理v3
  6795. /Erms3/AddUserInfoApply:
  6796. post:
  6797. parameters:
  6798. - description: 申请参数
  6799. in: body
  6800. name: jsonBody
  6801. required: true
  6802. schema:
  6803. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  6804. produces:
  6805. - application/json
  6806. responses:
  6807. "200":
  6808. description: OK
  6809. schema:
  6810. $ref: '#/definitions/app.Response'
  6811. "500":
  6812. description: Internal Server Error
  6813. schema:
  6814. $ref: '#/definitions/app.Response'
  6815. security:
  6816. - ApiKeyAuth: []
  6817. summary: 新增客户申请
  6818. tags:
  6819. - 风险管理v3
  6820. /Erms3/QueryBusinessInfo:
  6821. get:
  6822. parameters:
  6823. - description: 资金账号ID列表,用逗号分隔
  6824. in: query
  6825. name: accountids
  6826. required: true
  6827. type: string
  6828. - description: 状态,0为未结束 1为已结束
  6829. in: query
  6830. name: status
  6831. required: true
  6832. type: integer
  6833. produces:
  6834. - application/json
  6835. responses:
  6836. "200":
  6837. description: OK
  6838. schema:
  6839. items:
  6840. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  6841. type: array
  6842. "500":
  6843. description: Internal Server Error
  6844. schema:
  6845. $ref: '#/definitions/app.Response'
  6846. security:
  6847. - ApiKeyAuth: []
  6848. summary: 查询业务表单数据
  6849. tags:
  6850. - 风险管理v3
  6851. /Erms3/QueryPendingAuditContract:
  6852. get:
  6853. parameters:
  6854. - description: 资金账号ID列表,逗号隔开
  6855. in: query
  6856. name: accountids
  6857. required: true
  6858. type: string
  6859. - description: 合同类型 1-采购 -1-销售
  6860. in: query
  6861. name: contracttype
  6862. required: true
  6863. type: integer
  6864. - description: 合同模式 1-普通 2-回购
  6865. in: query
  6866. name: contractmode
  6867. required: true
  6868. type: integer
  6869. produces:
  6870. - application/json
  6871. responses:
  6872. "200":
  6873. description: OK
  6874. schema:
  6875. items:
  6876. $ref: '#/definitions/erms3.QryAuditContractRsp'
  6877. type: array
  6878. "500":
  6879. description: Internal Server Error
  6880. schema:
  6881. $ref: '#/definitions/app.Response'
  6882. security:
  6883. - ApiKeyAuth: []
  6884. summary: 查询待审核合同
  6885. tags:
  6886. - 风险管理v3
  6887. /Erms3/QueryPendingBusiness:
  6888. get:
  6889. parameters:
  6890. - description: 资金账号ID列表,逗号隔开
  6891. in: query
  6892. name: accountids
  6893. required: true
  6894. type: string
  6895. produces:
  6896. - application/json
  6897. responses:
  6898. "200":
  6899. description: OK
  6900. schema:
  6901. items:
  6902. $ref: '#/definitions/erms3.QryPendingBizRsp'
  6903. type: array
  6904. "500":
  6905. description: Internal Server Error
  6906. schema:
  6907. $ref: '#/definitions/app.Response'
  6908. security:
  6909. - ApiKeyAuth: []
  6910. summary: 查询待审核基差贸易业务
  6911. tags:
  6912. - 风险管理v3
  6913. /Erms3/QuerySpotContractAppleForm:
  6914. get:
  6915. parameters:
  6916. - description: 登录账号
  6917. in: query
  6918. name: loginID
  6919. required: true
  6920. type: integer
  6921. produces:
  6922. - application/json
  6923. responses:
  6924. "200":
  6925. description: OK
  6926. schema:
  6927. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  6928. "500":
  6929. description: Internal Server Error
  6930. schema:
  6931. $ref: '#/definitions/app.Response'
  6932. security:
  6933. - ApiKeyAuth: []
  6934. summary: 查询合同申请表单数据
  6935. tags:
  6936. - 风险管理v3
  6937. /Erms3/QuerySpotContractDetail:
  6938. get:
  6939. parameters:
  6940. - description: 资金账号ID列表,用逗号分隔
  6941. in: query
  6942. name: accountids
  6943. required: true
  6944. type: string
  6945. - description: 合同类型,1为采购合同 -1为销售合同
  6946. in: query
  6947. name: contracttype
  6948. required: true
  6949. type: integer
  6950. - description: 合同模式,1为普通合同 2为回购销售合同
  6951. in: query
  6952. name: contractmode
  6953. required: true
  6954. type: integer
  6955. - description: 状态,0为履约中 1为已完成
  6956. in: query
  6957. name: status
  6958. required: true
  6959. type: integer
  6960. produces:
  6961. - application/json
  6962. responses:
  6963. "200":
  6964. description: OK
  6965. schema:
  6966. items:
  6967. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  6968. type: array
  6969. "500":
  6970. description: Internal Server Error
  6971. schema:
  6972. $ref: '#/definitions/app.Response'
  6973. security:
  6974. - ApiKeyAuth: []
  6975. summary: 查询合同详细信息
  6976. tags:
  6977. - 风险管理v3
  6978. /Erms3/QueryUserInfoApplies:
  6979. get:
  6980. parameters:
  6981. - description: 页码
  6982. in: query
  6983. name: page
  6984. type: integer
  6985. - description: 每页条数
  6986. in: query
  6987. name: pagesize
  6988. type: integer
  6989. - description: 客户名称,支持模糊查询
  6990. in: query
  6991. name: userName
  6992. type: string
  6993. produces:
  6994. - application/json
  6995. responses:
  6996. "200":
  6997. description: OK
  6998. schema:
  6999. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  7000. "500":
  7001. description: Internal Server Error
  7002. schema:
  7003. $ref: '#/definitions/app.Response'
  7004. security:
  7005. - ApiKeyAuth: []
  7006. summary: 客户申请信息查询
  7007. tags:
  7008. - 风险管理v3
  7009. /Erms3/QueryUserInfos:
  7010. get:
  7011. parameters:
  7012. - description: 页码
  7013. in: query
  7014. name: page
  7015. type: integer
  7016. - description: 每页条数
  7017. in: query
  7018. name: pagesize
  7019. type: integer
  7020. - description: 客户名称,支持模糊查询
  7021. in: query
  7022. name: userName
  7023. type: string
  7024. produces:
  7025. - application/json
  7026. responses:
  7027. "200":
  7028. description: OK
  7029. schema:
  7030. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  7031. "500":
  7032. description: Internal Server Error
  7033. schema:
  7034. $ref: '#/definitions/app.Response'
  7035. security:
  7036. - ApiKeyAuth: []
  7037. summary: 客户信息查询
  7038. tags:
  7039. - 风险管理v3
  7040. /HSBY/GetHsbyMyCount:
  7041. get:
  7042. description: 说明: 不包括已完成的数量。
  7043. parameters:
  7044. - description: 资金账户列表,格式:1,2,3
  7045. in: query
  7046. name: accountIDs
  7047. required: true
  7048. type: string
  7049. produces:
  7050. - application/json
  7051. responses:
  7052. "200":
  7053. description: OK
  7054. schema:
  7055. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  7056. "500":
  7057. description: Internal Server Error
  7058. schema:
  7059. $ref: '#/definitions/app.Response'
  7060. security:
  7061. - ApiKeyAuth: []
  7062. summary: 获取我的订单与包裹数量
  7063. tags:
  7064. - 定制【海商报业】
  7065. /HSBY/QueryHsbyBuyMyTradeDetail:
  7066. get:
  7067. parameters:
  7068. - description: 页码
  7069. in: query
  7070. name: page
  7071. type: integer
  7072. - description: 每页条数
  7073. in: query
  7074. name: pagesize
  7075. type: integer
  7076. - description: 资金账户列表,格式:1,2,3
  7077. in: query
  7078. name: accountIDs
  7079. required: true
  7080. type: string
  7081. produces:
  7082. - application/json
  7083. responses:
  7084. "200":
  7085. description: OK
  7086. schema:
  7087. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  7088. "500":
  7089. description: Internal Server Error
  7090. schema:
  7091. $ref: '#/definitions/app.Response'
  7092. security:
  7093. - ApiKeyAuth: []
  7094. summary: 查询"我的订单 - 已完成"单据信息
  7095. tags:
  7096. - 定制【海商报业】
  7097. /HSBY/QueryHsbyGoodsOrderDetails:
  7098. get:
  7099. description: 说明:查询结果已按委托价格和委托时间排序
  7100. parameters:
  7101. - description: 商品ID
  7102. in: query
  7103. name: goodsID
  7104. required: true
  7105. type: integer
  7106. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  7107. in: query
  7108. name: accountIDs
  7109. type: string
  7110. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  7111. in: query
  7112. name: buyOrSell
  7113. type: integer
  7114. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  7115. in: query
  7116. name: price
  7117. type: number
  7118. - description: 档位,不传则默认为3档
  7119. in: query
  7120. name: speed
  7121. type: integer
  7122. produces:
  7123. - application/json
  7124. responses:
  7125. "200":
  7126. description: OK
  7127. schema:
  7128. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  7129. "500":
  7130. description: Internal Server Error
  7131. schema:
  7132. $ref: '#/definitions/app.Response'
  7133. security:
  7134. - ApiKeyAuth: []
  7135. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  7136. tags:
  7137. - 定制【海商报业】
  7138. /HSBY/QueryHsbyListingGoodsDetail:
  7139. get:
  7140. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  7141. parameters:
  7142. - description: 商品ID
  7143. in: query
  7144. name: goodsID
  7145. required: true
  7146. type: integer
  7147. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  7148. in: query
  7149. name: AccountID
  7150. type: integer
  7151. produces:
  7152. - application/json
  7153. responses:
  7154. "200":
  7155. description: OK
  7156. schema:
  7157. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  7158. "500":
  7159. description: Internal Server Error
  7160. schema:
  7161. $ref: '#/definitions/app.Response'
  7162. security:
  7163. - ApiKeyAuth: []
  7164. summary: 查询二级市场(挂牌点选)商品信息详情
  7165. tags:
  7166. - 定制【海商报业】
  7167. /HSBY/QueryHsbyMarketGoodsDetail:
  7168. get:
  7169. parameters:
  7170. - description: 委托单号
  7171. in: query
  7172. name: orderID
  7173. required: true
  7174. type: integer
  7175. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  7176. in: query
  7177. name: accountID
  7178. type: integer
  7179. produces:
  7180. - application/json
  7181. responses:
  7182. "200":
  7183. description: OK
  7184. schema:
  7185. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  7186. "500":
  7187. description: Internal Server Error
  7188. schema:
  7189. $ref: '#/definitions/app.Response'
  7190. security:
  7191. - ApiKeyAuth: []
  7192. summary: 查询三级市场(商城)商品信息详情
  7193. tags:
  7194. - 定制【海商报业】
  7195. /HSBY/QueryHsbyMarketGoodses:
  7196. get:
  7197. parameters:
  7198. - description: 页码
  7199. in: query
  7200. name: page
  7201. type: integer
  7202. - description: 每页条数
  7203. in: query
  7204. name: pagesize
  7205. type: integer
  7206. - description: 市场ID列表,格式:1,2,3
  7207. in: query
  7208. name: marketIDs
  7209. required: true
  7210. type: string
  7211. - description: 资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。
  7212. in: query
  7213. name: accountID
  7214. type: integer
  7215. - description: 类别ID
  7216. in: query
  7217. name: categoryID
  7218. type: integer
  7219. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  7220. in: query
  7221. name: goodsIDs
  7222. type: string
  7223. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  7224. in: query
  7225. name: couponTypeID
  7226. type: integer
  7227. produces:
  7228. - application/json
  7229. responses:
  7230. "200":
  7231. description: OK
  7232. schema:
  7233. $ref: '#/definitions/models.HsbyMarketGoods'
  7234. "500":
  7235. description: Internal Server Error
  7236. schema:
  7237. $ref: '#/definitions/app.Response'
  7238. security:
  7239. - ApiKeyAuth: []
  7240. summary: 查询特卖商品列表(三级商城)
  7241. tags:
  7242. - 定制【海商报业】
  7243. /HSBY/QueryHsbyMarkets:
  7244. get:
  7245. produces:
  7246. - application/json
  7247. responses:
  7248. "200":
  7249. description: OK
  7250. schema:
  7251. $ref: '#/definitions/models.HsbyMarketInfo'
  7252. "500":
  7253. description: Internal Server Error
  7254. schema:
  7255. $ref: '#/definitions/app.Response'
  7256. security:
  7257. - ApiKeyAuth: []
  7258. summary: 查询海商报业相关市场信息
  7259. tags:
  7260. - 定制【海商报业】
  7261. /HSBY/QueryHsbyMyBuyOrderDetails:
  7262. get:
  7263. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  7264. parameters:
  7265. - description: 资金账户列表,格式:1,2,3
  7266. in: query
  7267. name: accountIDs
  7268. required: true
  7269. type: string
  7270. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  7271. in: query
  7272. name: myBuyStatus
  7273. type: integer
  7274. produces:
  7275. - application/json
  7276. responses:
  7277. "200":
  7278. description: OK
  7279. schema:
  7280. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  7281. "500":
  7282. description: Internal Server Error
  7283. schema:
  7284. $ref: '#/definitions/app.Response'
  7285. security:
  7286. - ApiKeyAuth: []
  7287. summary: 查询“我的订单”信息
  7288. tags:
  7289. - 定制【海商报业】
  7290. /HSBY/QueryHsbyMyGoods:
  7291. get:
  7292. parameters:
  7293. - description: 资金账户列表,格式:1,2,3
  7294. in: query
  7295. name: accountIDs
  7296. required: true
  7297. type: string
  7298. produces:
  7299. - application/json
  7300. responses:
  7301. "200":
  7302. description: OK
  7303. schema:
  7304. $ref: '#/definitions/models.HsbyMyGoods'
  7305. "500":
  7306. description: Internal Server Error
  7307. schema:
  7308. $ref: '#/definitions/app.Response'
  7309. security:
  7310. - ApiKeyAuth: []
  7311. summary: 查询“我的商品”信息
  7312. tags:
  7313. - 定制【海商报业】
  7314. /HSBY/QueryHsbyMyPackages:
  7315. get:
  7316. parameters:
  7317. - description: 资金账户列表,格式:1,2,3
  7318. in: query
  7319. name: accountIDs
  7320. required: true
  7321. type: string
  7322. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7323. in: query
  7324. name: takeOrderStatus
  7325. type: integer
  7326. produces:
  7327. - application/json
  7328. responses:
  7329. "200":
  7330. description: OK
  7331. schema:
  7332. $ref: '#/definitions/models.HsbyMyPackage'
  7333. "500":
  7334. description: Internal Server Error
  7335. schema:
  7336. $ref: '#/definitions/app.Response'
  7337. security:
  7338. - ApiKeyAuth: []
  7339. summary: 查询我的包裹信息
  7340. tags:
  7341. - 定制【海商报业】
  7342. /HSBY/QueryHsbyPreGoodsDetail:
  7343. get:
  7344. parameters:
  7345. - description: 商品ID
  7346. in: query
  7347. name: goodsID
  7348. required: true
  7349. type: integer
  7350. - description: 资金账户,主要用于获取预售商品购买上限
  7351. in: query
  7352. name: accountID
  7353. type: integer
  7354. produces:
  7355. - application/json
  7356. responses:
  7357. "200":
  7358. description: OK
  7359. schema:
  7360. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  7361. "500":
  7362. description: Internal Server Error
  7363. schema:
  7364. $ref: '#/definitions/app.Response'
  7365. security:
  7366. - ApiKeyAuth: []
  7367. summary: 查询一级市场(预售)商品信息详情
  7368. tags:
  7369. - 定制【海商报业】
  7370. /HSBY/QueryHsbyPreGoodses:
  7371. get:
  7372. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  7373. parameters:
  7374. - description: 页码
  7375. in: query
  7376. name: page
  7377. type: integer
  7378. - description: 每页条数
  7379. in: query
  7380. name: pagesize
  7381. type: integer
  7382. - description: 市场ID列表,格式:1,2,3
  7383. in: query
  7384. name: marketIDs
  7385. required: true
  7386. type: string
  7387. - description: 目的地(省)ID
  7388. in: query
  7389. name: descProvinceID
  7390. type: integer
  7391. - description: 目的地(市)ID
  7392. in: query
  7393. name: descCityID
  7394. type: integer
  7395. produces:
  7396. - application/json
  7397. responses:
  7398. "200":
  7399. description: OK
  7400. schema:
  7401. $ref: '#/definitions/models.HsbyPreGoods'
  7402. "500":
  7403. description: Internal Server Error
  7404. schema:
  7405. $ref: '#/definitions/app.Response'
  7406. security:
  7407. - ApiKeyAuth: []
  7408. summary: 查询新品上市商品列表(一级市场预售)
  7409. tags:
  7410. - 定制【海商报业】
  7411. /HSBY/QueryHsbySellMyDetails:
  7412. get:
  7413. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  7414. parameters:
  7415. - description: 页码
  7416. in: query
  7417. name: page
  7418. type: integer
  7419. - description: 每页条数
  7420. in: query
  7421. name: pagesize
  7422. type: integer
  7423. - description: 资金账户列表,格式:1,2,3
  7424. in: query
  7425. name: accountIDs
  7426. required: true
  7427. type: string
  7428. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  7429. in: query
  7430. name: orderType
  7431. type: integer
  7432. produces:
  7433. - application/json
  7434. responses:
  7435. "200":
  7436. description: OK
  7437. schema:
  7438. $ref: '#/definitions/models.HsbySellMyDetail'
  7439. "500":
  7440. description: Internal Server Error
  7441. schema:
  7442. $ref: '#/definitions/app.Response'
  7443. security:
  7444. - ApiKeyAuth: []
  7445. summary: 查询"我的闲置"单据信息
  7446. tags:
  7447. - 定制【海商报业】
  7448. /HSBY/QueryHsbyTopGoodses:
  7449. get:
  7450. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  7451. parameters:
  7452. - description: 页码
  7453. in: query
  7454. name: page
  7455. type: integer
  7456. - description: 每页条数
  7457. in: query
  7458. name: pagesize
  7459. type: integer
  7460. - description: 市场ID列表,格式:1,2,3
  7461. in: query
  7462. name: marketIDs
  7463. required: true
  7464. type: string
  7465. - description: 目的地(省)ID
  7466. in: query
  7467. name: descProvinceID
  7468. type: integer
  7469. - description: 目的地(市)ID
  7470. in: query
  7471. name: descCityID
  7472. type: integer
  7473. produces:
  7474. - application/json
  7475. responses:
  7476. "200":
  7477. description: OK
  7478. schema:
  7479. $ref: '#/definitions/models.HsbyTopGoods'
  7480. "500":
  7481. description: Internal Server Error
  7482. schema:
  7483. $ref: '#/definitions/app.Response'
  7484. security:
  7485. - ApiKeyAuth: []
  7486. summary: 查询热卖商品列表(二级市场挂牌点选)
  7487. tags:
  7488. - 定制【海商报业】
  7489. /HSBY/QueryMyCollectionOrders:
  7490. get:
  7491. parameters:
  7492. - description: 页码
  7493. in: query
  7494. name: page
  7495. type: integer
  7496. - description: 每页条数
  7497. in: query
  7498. name: pagesize
  7499. type: integer
  7500. - description: 资金账户,格式:1,2,3
  7501. in: query
  7502. name: accountIDs
  7503. required: true
  7504. type: string
  7505. produces:
  7506. - application/json
  7507. responses:
  7508. "200":
  7509. description: OK
  7510. schema:
  7511. $ref: '#/definitions/models.HsbySellCollectionOrder'
  7512. "500":
  7513. description: Internal Server Error
  7514. schema:
  7515. $ref: '#/definitions/app.Response'
  7516. security:
  7517. - ApiKeyAuth: []
  7518. summary: 我的闲置中收款信息查询
  7519. tags:
  7520. - 定制【海商报业】
  7521. /HSBY/QueryMyCouponHolds:
  7522. get:
  7523. parameters:
  7524. - description: 资金账户列表,格式:1,2,3
  7525. in: query
  7526. name: accountIDs
  7527. required: true
  7528. type: string
  7529. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  7530. in: query
  7531. name: holdStatus
  7532. type: string
  7533. produces:
  7534. - application/json
  7535. responses:
  7536. "200":
  7537. description: OK
  7538. schema:
  7539. $ref: '#/definitions/models.MyCouponHold'
  7540. "500":
  7541. description: Internal Server Error
  7542. schema:
  7543. $ref: '#/definitions/app.Response'
  7544. security:
  7545. - ApiKeyAuth: []
  7546. summary: 我的优惠卷持仓查询
  7547. tags:
  7548. - 定制【海商报业】
  7549. /HSBY/QueryMyCoupons:
  7550. get:
  7551. parameters:
  7552. - description: 资金账户列表,格式:1,2,3
  7553. in: query
  7554. name: accountIDs
  7555. required: true
  7556. type: string
  7557. - description: 商品ID, 一般与sellUserID配套传入
  7558. in: query
  7559. name: goodsID
  7560. type: integer
  7561. - description: 卖方UserID
  7562. in: query
  7563. name: sellUserID
  7564. type: integer
  7565. produces:
  7566. - application/json
  7567. responses:
  7568. "200":
  7569. description: OK
  7570. schema:
  7571. $ref: '#/definitions/models.MyCoupon'
  7572. "500":
  7573. description: Internal Server Error
  7574. schema:
  7575. $ref: '#/definitions/app.Response'
  7576. security:
  7577. - ApiKeyAuth: []
  7578. summary: 我的优惠卷查询
  7579. tags:
  7580. - 定制【海商报业】
  7581. /HSBY/QueryMyPayOrders:
  7582. get:
  7583. parameters:
  7584. - description: 页码
  7585. in: query
  7586. name: page
  7587. type: integer
  7588. - description: 每页条数
  7589. in: query
  7590. name: pagesize
  7591. type: integer
  7592. - description: 资金账户列表,格式:1,2,3
  7593. in: query
  7594. name: accountIDs
  7595. required: true
  7596. type: string
  7597. - description: 买方委托单号
  7598. in: query
  7599. name: buyOrderID
  7600. type: integer
  7601. - description: 卖方委托单号
  7602. in: query
  7603. name: sellOrderID
  7604. type: integer
  7605. produces:
  7606. - application/json
  7607. responses:
  7608. "200":
  7609. description: OK
  7610. schema:
  7611. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  7612. "500":
  7613. description: Internal Server Error
  7614. schema:
  7615. $ref: '#/definitions/app.Response'
  7616. security:
  7617. - ApiKeyAuth: []
  7618. summary: 获取我的订单中待付款信息
  7619. tags:
  7620. - 定制【海商报业】
  7621. /HSBY/QueryMyUsedCoupon:
  7622. get:
  7623. parameters:
  7624. - description: 资金账户列表,格式:1,2,3
  7625. in: query
  7626. name: accountIDs
  7627. required: true
  7628. type: string
  7629. produces:
  7630. - application/json
  7631. responses:
  7632. "200":
  7633. description: OK
  7634. schema:
  7635. $ref: '#/definitions/models.MyUsedCoupon'
  7636. "500":
  7637. description: Internal Server Error
  7638. schema:
  7639. $ref: '#/definitions/app.Response'
  7640. security:
  7641. - ApiKeyAuth: []
  7642. summary: 已使用优惠卷查询
  7643. tags:
  7644. - 定制【海商报业】
  7645. /HSBY/QueryProvincesAndCities:
  7646. get:
  7647. description: 查询结果只包括二级市场商品已关连的省市信息。
  7648. parameters:
  7649. - description: 省ID
  7650. in: query
  7651. name: provinceID
  7652. type: integer
  7653. produces:
  7654. - application/json
  7655. responses:
  7656. "200":
  7657. description: OK
  7658. schema:
  7659. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  7660. "500":
  7661. description: Internal Server Error
  7662. schema:
  7663. $ref: '#/definitions/app.Response'
  7664. security:
  7665. - ApiKeyAuth: []
  7666. summary: 查询省市信息(不包括区)
  7667. tags:
  7668. - 定制【海商报业】
  7669. /HSBY/SetHsbyMyPackagesStatus:
  7670. post:
  7671. parameters:
  7672. - description: 提货单号
  7673. in: query
  7674. name: takeOrderID
  7675. required: true
  7676. type: string
  7677. - description: 资金账号
  7678. in: query
  7679. name: accountID
  7680. required: true
  7681. type: integer
  7682. produces:
  7683. - application/json
  7684. responses:
  7685. "200":
  7686. description: OK
  7687. schema:
  7688. $ref: '#/definitions/app.Response'
  7689. "500":
  7690. description: Internal Server Error
  7691. schema:
  7692. $ref: '#/definitions/app.Response'
  7693. security:
  7694. - ApiKeyAuth: []
  7695. summary: 设置我的包裹已收货状态
  7696. tags:
  7697. - 定制【海商报业】
  7698. /Market/QueryMarketRun:
  7699. get:
  7700. parameters:
  7701. - description: 市场ID,不传返回所有
  7702. in: query
  7703. name: marketID
  7704. type: integer
  7705. produces:
  7706. - application/json
  7707. responses:
  7708. "200":
  7709. description: OK
  7710. schema:
  7711. $ref: '#/definitions/models.Marketrun'
  7712. "500":
  7713. description: Internal Server Error
  7714. schema:
  7715. $ref: '#/definitions/app.Response'
  7716. security:
  7717. - ApiKeyAuth: []
  7718. summary: 查询市场运行信息
  7719. tags:
  7720. - 通用市场
  7721. /Order/QueryHisTradeDetail:
  7722. get:
  7723. parameters:
  7724. - description: 资金账户 - 格式:1,2,3
  7725. in: query
  7726. name: accountID
  7727. required: true
  7728. type: string
  7729. - description: 成交单号
  7730. in: query
  7731. name: tradeID
  7732. type: integer
  7733. - description: 委托单号
  7734. in: query
  7735. name: orderID
  7736. type: integer
  7737. - description: 交易模式 - 格式:1,2,3
  7738. in: query
  7739. name: tradeMode
  7740. type: string
  7741. - description: 委托单据类型
  7742. in: query
  7743. name: buildType
  7744. type: integer
  7745. - description: 成交类别 - 格式:1,2,3
  7746. in: query
  7747. name: tradeType
  7748. type: string
  7749. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  7750. in: query
  7751. name: startDate
  7752. type: string
  7753. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  7754. in: query
  7755. name: endDate
  7756. type: string
  7757. produces:
  7758. - application/json
  7759. responses:
  7760. "200":
  7761. description: OK
  7762. schema:
  7763. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  7764. "500":
  7765. description: Internal Server Error
  7766. schema:
  7767. $ref: '#/definitions/app.Response'
  7768. security:
  7769. - ApiKeyAuth: []
  7770. summary: 历史成交单查询(合约市场)
  7771. tags:
  7772. - 通用单据
  7773. /Order/QueryHisTradeOrderDetail:
  7774. get:
  7775. parameters:
  7776. - description: 资金账户 - 格式:1,2,3
  7777. in: query
  7778. name: accountID
  7779. required: true
  7780. type: string
  7781. - description: 交易模式 - 格式:1,2,3
  7782. in: query
  7783. name: tradeMode
  7784. type: string
  7785. - description: 委托状态 - 格式:1,2,3
  7786. in: query
  7787. name: orderStatus
  7788. type: string
  7789. - description: 委托单号
  7790. in: query
  7791. name: orderID
  7792. type: integer
  7793. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  7794. in: query
  7795. name: startDate
  7796. type: string
  7797. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  7798. in: query
  7799. name: endDate
  7800. type: string
  7801. produces:
  7802. - application/json
  7803. responses:
  7804. "200":
  7805. description: OK
  7806. schema:
  7807. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  7808. "500":
  7809. description: Internal Server Error
  7810. schema:
  7811. $ref: '#/definitions/app.Response'
  7812. security:
  7813. - ApiKeyAuth: []
  7814. summary: 历史委托单查询请求(合约市场)
  7815. tags:
  7816. - 通用单据
  7817. /Order/QueryTradeDetail:
  7818. get:
  7819. parameters:
  7820. - description: 资金账户 - 格式:1,2,3
  7821. in: query
  7822. name: accountID
  7823. required: true
  7824. type: string
  7825. - description: 成交单号
  7826. in: query
  7827. name: tradeID
  7828. type: integer
  7829. - description: 委托单号
  7830. in: query
  7831. name: orderID
  7832. type: integer
  7833. - description: 交易模式 - 格式:1,2,3
  7834. in: query
  7835. name: tradeMode
  7836. type: string
  7837. - description: 委托单据类型
  7838. in: query
  7839. name: buildType
  7840. type: integer
  7841. - description: 成交类别 - 格式:1,2,3
  7842. in: query
  7843. name: tradeType
  7844. type: string
  7845. produces:
  7846. - application/json
  7847. responses:
  7848. "200":
  7849. description: OK
  7850. schema:
  7851. $ref: '#/definitions/order.QueryTradeDetailRsp'
  7852. "500":
  7853. description: Internal Server Error
  7854. schema:
  7855. $ref: '#/definitions/app.Response'
  7856. security:
  7857. - ApiKeyAuth: []
  7858. summary: 成交单查询(合约市场)
  7859. tags:
  7860. - 通用单据
  7861. /Order/QueryTradeOrderDetail:
  7862. get:
  7863. parameters:
  7864. - description: 资金账户 - 格式:1,2,3
  7865. in: query
  7866. name: accountID
  7867. required: true
  7868. type: string
  7869. - description: 交易模式 - 格式:1,2,3
  7870. in: query
  7871. name: tradeMode
  7872. type: string
  7873. - description: 委托状态 - 格式:1,2,3
  7874. in: query
  7875. name: orderStatus
  7876. type: string
  7877. - description: 委托单号
  7878. in: query
  7879. name: orderID
  7880. type: integer
  7881. produces:
  7882. - application/json
  7883. responses:
  7884. "200":
  7885. description: OK
  7886. schema:
  7887. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  7888. "500":
  7889. description: Internal Server Error
  7890. schema:
  7891. $ref: '#/definitions/app.Response'
  7892. security:
  7893. - ApiKeyAuth: []
  7894. summary: 委托单查询请求(合约市场)
  7895. tags:
  7896. - 通用单据
  7897. /Order/QueryTradePosition:
  7898. get:
  7899. parameters:
  7900. - description: 资金账户 - 格式:1,2,3
  7901. in: query
  7902. name: accountID
  7903. required: true
  7904. type: string
  7905. - description: 交易模式 - 格式:1,2,3
  7906. in: query
  7907. name: tradeMode
  7908. type: string
  7909. produces:
  7910. - application/json
  7911. responses:
  7912. "200":
  7913. description: OK
  7914. schema:
  7915. $ref: '#/definitions/order.QueryTradePositionRsp'
  7916. "500":
  7917. description: Internal Server Error
  7918. schema:
  7919. $ref: '#/definitions/app.Response'
  7920. security:
  7921. - ApiKeyAuth: []
  7922. summary: 持仓汇总查询(合约市场)
  7923. tags:
  7924. - 通用单据
  7925. /Quote/QueryHistoryDatas:
  7926. get:
  7927. parameters:
  7928. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  7929. 日线 10: Tik'
  7930. in: query
  7931. name: cycleType
  7932. required: true
  7933. type: integer
  7934. - description: 商品代码
  7935. in: query
  7936. name: goodsCode
  7937. required: true
  7938. type: string
  7939. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  7940. in: query
  7941. name: startTime
  7942. type: string
  7943. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  7944. in: query
  7945. name: endTime
  7946. type: string
  7947. - description: 条数
  7948. in: query
  7949. name: count
  7950. type: integer
  7951. - description: 是否按时间顺序排序(默认为时间倒序排序)
  7952. in: query
  7953. name: isAsc
  7954. type: boolean
  7955. produces:
  7956. - application/json
  7957. responses:
  7958. "200":
  7959. description: OK
  7960. schema:
  7961. $ref: '#/definitions/quote.HistoryData'
  7962. "500":
  7963. description: Internal Server Error
  7964. schema:
  7965. $ref: '#/definitions/app.Response'
  7966. security:
  7967. - ApiKeyAuth: []
  7968. summary: 查询行情历史数据
  7969. tags:
  7970. - 行情服务
  7971. /Quote/QueryTSData:
  7972. get:
  7973. parameters:
  7974. - description: 商品代码
  7975. in: query
  7976. name: GoodsCode
  7977. required: true
  7978. type: string
  7979. produces:
  7980. - application/json
  7981. responses:
  7982. "200":
  7983. description: OK
  7984. schema:
  7985. $ref: '#/definitions/quote.QueryTSDataRsp'
  7986. "500":
  7987. description: Internal Server Error
  7988. schema:
  7989. $ref: '#/definitions/app.Response'
  7990. summary: 分时图数据查询
  7991. tags:
  7992. - 行情服务
  7993. /SZDZ/QueryConvertConfig:
  7994. get:
  7995. parameters:
  7996. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  7997. 6:交易转花生米(不设置)
  7998. in: query
  7999. name: convertType
  8000. type: integer
  8001. - description: 外部商品代码[JD\PD]
  8002. in: query
  8003. name: outerGoodsCode
  8004. type: string
  8005. - description: 内部商品ID列表[交易],格式:1,2,3
  8006. in: query
  8007. name: innerGoodsIDs
  8008. type: string
  8009. produces:
  8010. - application/json
  8011. responses:
  8012. "200":
  8013. description: OK
  8014. schema:
  8015. $ref: '#/definitions/models.Szdz3convertconfig'
  8016. "500":
  8017. description: Internal Server Error
  8018. schema:
  8019. $ref: '#/definitions/app.Response'
  8020. security:
  8021. - ApiKeyAuth: []
  8022. summary: 查询交易系统转换设置
  8023. tags:
  8024. - 定制【尚志大宗】
  8025. /SZDZ/QueryConvertLog:
  8026. get:
  8027. parameters:
  8028. - description: 资金账户 - 格式:1,2,3
  8029. in: query
  8030. name: accountID
  8031. required: true
  8032. type: string
  8033. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  8034. in: query
  8035. name: startDate
  8036. type: string
  8037. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  8038. in: query
  8039. name: endDate
  8040. type: string
  8041. produces:
  8042. - application/json
  8043. responses:
  8044. "200":
  8045. description: OK
  8046. schema:
  8047. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  8048. "500":
  8049. description: Internal Server Error
  8050. schema:
  8051. $ref: '#/definitions/app.Response'
  8052. security:
  8053. - ApiKeyAuth: []
  8054. summary: 交易系统转换流水查询
  8055. tags:
  8056. - 定制【尚志大宗】
  8057. /SZDZ/QueryGoodsPickup:
  8058. get:
  8059. parameters:
  8060. - description: 资金账户 - 格式:1,2,3
  8061. in: query
  8062. name: accountID
  8063. required: true
  8064. type: string
  8065. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8066. in: query
  8067. name: takeOrderStatus
  8068. type: integer
  8069. produces:
  8070. - application/json
  8071. responses:
  8072. "200":
  8073. description: OK
  8074. schema:
  8075. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  8076. "500":
  8077. description: Internal Server Error
  8078. schema:
  8079. $ref: '#/definitions/app.Response'
  8080. security:
  8081. - ApiKeyAuth: []
  8082. summary: 商品提货单查询
  8083. tags:
  8084. - 定制【尚志大宗】
  8085. /SZDZ/QueryRecieptOrder:
  8086. get:
  8087. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  8088. parameters:
  8089. - description: 页码
  8090. in: query
  8091. name: page
  8092. type: integer
  8093. - description: 每页条数
  8094. in: query
  8095. name: pagesize
  8096. type: integer
  8097. - description: 商品ID
  8098. in: query
  8099. name: goodsID
  8100. required: true
  8101. type: integer
  8102. - description: 所属账户名称
  8103. in: query
  8104. name: accountName
  8105. type: string
  8106. - description: 市场ID
  8107. in: query
  8108. name: marketID
  8109. type: integer
  8110. - description: 方向 - 0:买 1:卖
  8111. in: query
  8112. name: buyorsell
  8113. required: true
  8114. type: integer
  8115. produces:
  8116. - application/json
  8117. responses:
  8118. "200":
  8119. description: OK
  8120. schema:
  8121. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  8122. "500":
  8123. description: Internal Server Error
  8124. schema:
  8125. $ref: '#/definitions/app.Response'
  8126. security:
  8127. - ApiKeyAuth: []
  8128. summary: 点选挂牌委托单据查询(摘牌大厅)
  8129. tags:
  8130. - 定制【尚志大宗】
  8131. /SZDZ/QuerySZDZTradePosition:
  8132. get:
  8133. parameters:
  8134. - description: 资金账户
  8135. in: query
  8136. name: accountID
  8137. required: true
  8138. type: integer
  8139. produces:
  8140. - application/json
  8141. responses:
  8142. "200":
  8143. description: OK
  8144. schema:
  8145. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  8146. "500":
  8147. description: Internal Server Error
  8148. schema:
  8149. $ref: '#/definitions/app.Response'
  8150. security:
  8151. - ApiKeyAuth: []
  8152. summary: 持仓汇总查询(尚志大宗)
  8153. tags:
  8154. - 定制【尚志大宗】
  8155. /SZDZ/SearchWhite:
  8156. get:
  8157. parameters:
  8158. - description: 用户ID
  8159. in: query
  8160. name: userID
  8161. required: true
  8162. type: integer
  8163. produces:
  8164. - application/json
  8165. responses:
  8166. "200":
  8167. description: OK
  8168. schema:
  8169. $ref: '#/definitions/models.Szdz3searchwhitelist'
  8170. "500":
  8171. description: Internal Server Error
  8172. schema:
  8173. $ref: '#/definitions/app.Response'
  8174. security:
  8175. - ApiKeyAuth: []
  8176. summary: 搜索白名单
  8177. tags:
  8178. - 定制【尚志大宗】
  8179. /Search/SearchGoodses:
  8180. get:
  8181. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  8182. parameters:
  8183. - description: 检索内容
  8184. in: query
  8185. name: content
  8186. required: true
  8187. type: string
  8188. - description: 交易模式,格式:1,2,3
  8189. in: query
  8190. name: tradeModes
  8191. type: string
  8192. produces:
  8193. - application/json
  8194. responses:
  8195. "200":
  8196. description: OK
  8197. schema:
  8198. $ref: '#/definitions/models.SearchGoods'
  8199. "500":
  8200. description: Internal Server Error
  8201. schema:
  8202. $ref: '#/definitions/app.Response'
  8203. summary: 检索商品信息
  8204. tags:
  8205. - 检索服务
  8206. /TaAccount/QueryAmountLog:
  8207. get:
  8208. parameters:
  8209. - description: 页码
  8210. in: query
  8211. name: page
  8212. type: integer
  8213. - description: 每页条数
  8214. in: query
  8215. name: pagesize
  8216. type: integer
  8217. - description: 资金账户 - 格式:1,2,3
  8218. in: query
  8219. name: accountID
  8220. required: true
  8221. type: string
  8222. - description: 资金操作类型 - 格式:1,2,3
  8223. in: query
  8224. name: OperateType
  8225. type: string
  8226. produces:
  8227. - application/json
  8228. responses:
  8229. "200":
  8230. description: OK
  8231. schema:
  8232. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  8233. "500":
  8234. description: Internal Server Error
  8235. schema:
  8236. $ref: '#/definitions/app.Response'
  8237. security:
  8238. - ApiKeyAuth: []
  8239. summary: 资金流水查询(当前)
  8240. tags:
  8241. - 资金账户
  8242. /TaAccount/QueryHisAmountLog:
  8243. get:
  8244. parameters:
  8245. - description: 页码
  8246. in: query
  8247. name: page
  8248. type: integer
  8249. - description: 每页条数
  8250. in: query
  8251. name: pagesize
  8252. type: integer
  8253. - description: 资金账户 - 格式:1,2,3
  8254. in: query
  8255. name: accountID
  8256. required: true
  8257. type: string
  8258. - description: 资金操作类型 - 格式:1,2,3
  8259. in: query
  8260. name: OperateType
  8261. type: string
  8262. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  8263. in: query
  8264. name: startDate
  8265. type: string
  8266. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  8267. in: query
  8268. name: endDate
  8269. type: string
  8270. produces:
  8271. - application/json
  8272. responses:
  8273. "200":
  8274. description: OK
  8275. schema:
  8276. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  8277. "500":
  8278. description: Internal Server Error
  8279. schema:
  8280. $ref: '#/definitions/app.Response'
  8281. security:
  8282. - ApiKeyAuth: []
  8283. summary: 资金流水查询(历史)
  8284. tags:
  8285. - 资金账户
  8286. /Trade/QueryRecieptOrder:
  8287. get:
  8288. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  8289. parameters:
  8290. - description: 页码
  8291. in: query
  8292. name: page
  8293. type: integer
  8294. - description: 每页条数
  8295. in: query
  8296. name: pagesize
  8297. type: integer
  8298. - description: 商品ID
  8299. in: query
  8300. name: goodsID
  8301. required: true
  8302. type: integer
  8303. - description: 所属账户名称
  8304. in: query
  8305. name: accountName
  8306. type: string
  8307. - description: 市场ID
  8308. in: query
  8309. name: marketID
  8310. type: integer
  8311. - description: 方向 - 0:买 1:卖
  8312. in: query
  8313. name: buyorsell
  8314. required: true
  8315. type: integer
  8316. produces:
  8317. - application/json
  8318. responses:
  8319. "200":
  8320. description: OK
  8321. schema:
  8322. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  8323. "500":
  8324. description: Internal Server Error
  8325. schema:
  8326. $ref: '#/definitions/app.Response'
  8327. security:
  8328. - ApiKeyAuth: []
  8329. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  8330. tags:
  8331. - 通用交易
  8332. /User/AddMessageBoard:
  8333. post:
  8334. parameters:
  8335. - description: 用户ID
  8336. in: query
  8337. name: userID
  8338. required: true
  8339. type: integer
  8340. - description: 留言信息
  8341. in: query
  8342. name: message
  8343. required: true
  8344. type: string
  8345. produces:
  8346. - application/json
  8347. responses:
  8348. "200":
  8349. description: OK
  8350. schema:
  8351. $ref: '#/definitions/app.Response'
  8352. "500":
  8353. description: Internal Server Error
  8354. schema:
  8355. $ref: '#/definitions/app.Response'
  8356. security:
  8357. - ApiKeyAuth: []
  8358. summary: 添加用户留言板信息
  8359. tags:
  8360. - 用户信息
  8361. /User/AddUserFavoriteGoods:
  8362. post:
  8363. parameters:
  8364. - description: 用户ID
  8365. in: query
  8366. name: userID
  8367. required: true
  8368. type: integer
  8369. - description: 商品ID
  8370. in: query
  8371. name: goodsID
  8372. required: true
  8373. type: integer
  8374. produces:
  8375. - application/json
  8376. responses:
  8377. "200":
  8378. description: OK
  8379. schema:
  8380. $ref: '#/definitions/app.Response'
  8381. "500":
  8382. description: Internal Server Error
  8383. schema:
  8384. $ref: '#/definitions/app.Response'
  8385. security:
  8386. - ApiKeyAuth: []
  8387. summary: 添加用户商品收藏信息
  8388. tags:
  8389. - 用户信息
  8390. /User/GetLoginID:
  8391. get:
  8392. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  8393. parameters:
  8394. - description: 登录代码
  8395. in: query
  8396. name: username
  8397. required: true
  8398. type: string
  8399. produces:
  8400. - application/json
  8401. responses:
  8402. "200":
  8403. description: OK
  8404. schema:
  8405. $ref: '#/definitions/app.Response'
  8406. "500":
  8407. description: Internal Server Error
  8408. schema:
  8409. $ref: '#/definitions/app.Response'
  8410. summary: 获取登录ID
  8411. tags:
  8412. - 用户信息
  8413. /User/GetUserAccount:
  8414. get:
  8415. parameters:
  8416. - description: 用户ID
  8417. in: query
  8418. name: userID
  8419. required: true
  8420. type: integer
  8421. produces:
  8422. - application/json
  8423. responses:
  8424. "200":
  8425. description: OK
  8426. schema:
  8427. $ref: '#/definitions/models.Useraccount'
  8428. "500":
  8429. description: Internal Server Error
  8430. schema:
  8431. $ref: '#/definitions/app.Response'
  8432. security:
  8433. - ApiKeyAuth: []
  8434. summary: 获取用户账号信息
  8435. tags:
  8436. - 用户信息
  8437. /User/GetUserAuthStatus:
  8438. get:
  8439. parameters:
  8440. - description: 用户ID
  8441. in: query
  8442. name: userID
  8443. required: true
  8444. type: integer
  8445. produces:
  8446. - application/json
  8447. responses:
  8448. "200":
  8449. description: OK
  8450. schema:
  8451. $ref: '#/definitions/app.Response'
  8452. "500":
  8453. description: Internal Server Error
  8454. schema:
  8455. $ref: '#/definitions/app.Response'
  8456. security:
  8457. - ApiKeyAuth: []
  8458. summary: 获取用户实名认证状态
  8459. tags:
  8460. - 用户信息
  8461. /User/QueryMessageBoard:
  8462. get:
  8463. parameters:
  8464. - description: 用户ID
  8465. in: query
  8466. name: userID
  8467. required: true
  8468. type: integer
  8469. produces:
  8470. - application/json
  8471. responses:
  8472. "200":
  8473. description: OK
  8474. schema:
  8475. $ref: '#/definitions/models.Messageboard'
  8476. "500":
  8477. description: Internal Server Error
  8478. schema:
  8479. $ref: '#/definitions/app.Response'
  8480. security:
  8481. - ApiKeyAuth: []
  8482. summary: 获取用户留言板信息
  8483. tags:
  8484. - 用户信息
  8485. /User/QueryUserFavoriteGoodses:
  8486. get:
  8487. parameters:
  8488. - description: 用户ID
  8489. in: query
  8490. name: userID
  8491. required: true
  8492. type: integer
  8493. produces:
  8494. - application/json
  8495. responses:
  8496. "200":
  8497. description: OK
  8498. schema:
  8499. $ref: '#/definitions/models.Userfavoritegoods'
  8500. "500":
  8501. description: Internal Server Error
  8502. schema:
  8503. $ref: '#/definitions/app.Response'
  8504. security:
  8505. - ApiKeyAuth: []
  8506. summary: 获取用户商品收藏信息
  8507. tags:
  8508. - 用户信息
  8509. /User/QueryUserInfo:
  8510. get:
  8511. parameters:
  8512. - description: 用户ID
  8513. in: query
  8514. name: userID
  8515. required: true
  8516. type: integer
  8517. produces:
  8518. - application/json
  8519. responses:
  8520. "200":
  8521. description: OK
  8522. schema:
  8523. $ref: '#/definitions/models.Userinfo'
  8524. "500":
  8525. description: Internal Server Error
  8526. schema:
  8527. $ref: '#/definitions/app.Response'
  8528. security:
  8529. - ApiKeyAuth: []
  8530. summary: 获取用户信息
  8531. tags:
  8532. - 用户信息
  8533. /User/QueryUserReferNum:
  8534. get:
  8535. parameters:
  8536. - description: 用户ID
  8537. in: query
  8538. name: userID
  8539. required: true
  8540. type: integer
  8541. produces:
  8542. - application/json
  8543. responses:
  8544. "200":
  8545. description: OK
  8546. schema:
  8547. $ref: '#/definitions/app.Response'
  8548. "500":
  8549. description: Internal Server Error
  8550. schema:
  8551. $ref: '#/definitions/app.Response'
  8552. summary: 获取用户邀请码
  8553. tags:
  8554. - 用户信息
  8555. /User/RemoveUserFavoriteGoods:
  8556. post:
  8557. parameters:
  8558. - description: 用户ID
  8559. in: query
  8560. name: userID
  8561. required: true
  8562. type: integer
  8563. - description: 商品ID
  8564. in: query
  8565. name: goodsID
  8566. required: true
  8567. type: integer
  8568. produces:
  8569. - application/json
  8570. responses:
  8571. "200":
  8572. description: OK
  8573. schema:
  8574. $ref: '#/definitions/app.Response'
  8575. "500":
  8576. description: Internal Server Error
  8577. schema:
  8578. $ref: '#/definitions/app.Response'
  8579. security:
  8580. - ApiKeyAuth: []
  8581. summary: 移除用户商品收藏信息
  8582. tags:
  8583. - 用户信息
  8584. /WR/GetWRCategoryInfo:
  8585. get:
  8586. produces:
  8587. - application/json
  8588. responses:
  8589. "200":
  8590. description: OK
  8591. schema:
  8592. $ref: '#/definitions/models.WRCategoryTree'
  8593. "500":
  8594. description: Internal Server Error
  8595. schema:
  8596. $ref: '#/definitions/app.Response'
  8597. summary: 获取现货分类信息
  8598. tags:
  8599. - 仓单服务
  8600. /WRTrade/GetAllDeliveryGoods:
  8601. get:
  8602. produces:
  8603. - application/json
  8604. - application/json
  8605. responses:
  8606. "200":
  8607. description: OK
  8608. schema:
  8609. $ref: '#/definitions/app.Response'
  8610. "500":
  8611. description: Internal Server Error
  8612. schema:
  8613. $ref: '#/definitions/app.Response'
  8614. security:
  8615. - ApiKeyAuth: []
  8616. - ApiKeyAuth: []
  8617. summary: 获取带仓单分类的种类信息
  8618. tags:
  8619. - 仓单贸易
  8620. - 仓单贸易
  8621. securityDefinitions:
  8622. ApiKeyAuth:
  8623. in: header
  8624. name: Authorization
  8625. type: apiKey
  8626. swagger: "2.0"